CodeGen error after deleting SQL table

Hello @hiltongr,
Describe the bug
After deleting an SQL table and running CodeGen throws errors.
To Reproduce
Steps to reproduce the behavior:

Create a table
Run CodeGen
Delete a table
Run CodeGen again

Logs
serverName: 'DESKTOP-XXXXXXX',
    procName: 'vwXYZs',
    precedingErrors: []
  },
  code: 'EREQUEST',
  originalError: Error: Invalid object name 'dbo.XYZ'.
      at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:382:19)
      at Connection.emit (node:events:514:28)
      at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
      at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
      at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
      at Readable.emit (node:events:514:28)
      at addChunk (node:internal/streams/readable:545:12)
      at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
      at Readable.push (node:internal/streams/readable:376:5)
      at next (node:internal/streams/from:98:31) {
    info: ErrorMessageToken {
      name: 'ERROR',
      handlerName: 'onErrorMessage',
      number: 208,
      state: 1,
      class: 16,
      message: "Invalid object name 'dbo.XYZ'.",
      serverName: 'DESKTOP-XXXXXXX',
      procName: 'vwXYZs',
      lineNumber: 8
    }
  },
  number: 208,
  lineNumber: 8,
  state: 1,
  class: 16,
  serverName: 'DESKTOP-XXXXXXX',
  procName: 'vwXYZs',
  precedingErrors: []
}
QueryFailedError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
    at C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\src\driver\sqlserver\SqlServerQueryRunner.ts:282:30
    at C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\base\request.js:440:25
    at Request.userCallback (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:492:15)
    at Request.callback (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\request.ts:379:14)
    at Parser.onEndOfMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:3713:22)
    at Object.onceWrapper (node:events:628:28)
    at Parser.emit (node:events:514:28)
    at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:30:12)
    at Readable.emit (node:events:514:28)
    at endReadableNT (node:internal/streams/readable:1589:12) {
  query: '\n' +
    'GRANT SELECT ON [dbo].[vwXYZs] TO [cdp_UI], [cdp_Developer], [cdp_Integration]\n' +
    '    ',
  parameters: undefined,
  driverError: RequestError: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
      at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:384:15)
      at Connection.emit (node:events:514:28)
      at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
      at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
      at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
      at Readable.emit (node:events:514:28)
      at addChunk (node:internal/streams/readable:545:12)
      at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
      at Readable.push (node:internal/streams/readable:376:5)
      at next (node:internal/streams/from:98:31) {
    code: 'EREQUEST',
    originalError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
        at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:382:19)
        at Connection.emit (node:events:514:28)
        at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
        at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
        at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
        at Readable.emit (node:events:514:28)
        at addChunk (node:internal/streams/readable:545:12)
        at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
        at Readable.push (node:internal/streams/readable:376:5)
        at next (node:internal/streams/from:98:31) {
      info: [ErrorMessageToken]
    },
    number: 15151,
    lineNumber: 2,
    state: 1,
    class: 16,
    serverName: 'DESKTOP-XXXXXXX',
    procName: '',
    precedingErrors: []
  },
  code: 'EREQUEST',
  originalError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
      at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:382:19)
      at Connection.emit (node:events:514:28)
      at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
      at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
      at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
      at Readable.emit (node:events:514:28)
      at addChunk (node:internal/streams/readable:545:12)
      at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
      at Readable.push (node:internal/streams/readable:376:5)
      at next (node:internal/streams/from:98:31) {
    info: ErrorMessageToken {
      name: 'ERROR',
      handlerName: 'onErrorMessage',
      number: 15151,
      state: 1,
      class: 16,
      message: "Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.",
      serverName: 'DESKTOP-XXXXXXX',
      procName: '',
      lineNumber: 2
    }
  },
  number: 15151,
  lineNumber: 2,
  state: 1,
  class: 16,
  serverName: 'DESKTOP-XXXXXXX',
  procName: '',
  precedingErrors: []
}
QueryFailedError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
    at C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\src\driver\sqlserver\SqlServerQueryRunner.ts:282:30
    at C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\base\request.js:440:25
    at Request.userCallback (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:492:15)
    at Request.callback (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\request.ts:379:14)
    at Parser.onEndOfMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:3713:22)
    at Object.onceWrapper (node:events:628:28)
    at Parser.emit (node:events:514:28)
    at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:30:12)
    at Readable.emit (node:events:514:28)
    at endReadableNT (node:internal/streams/readable:1589:12) {
  query: '-----------------------------------------------------------------\n' +
    '-- SQL Code Generation\n' +
    '-- Entity: XYZs\n' +
    '-- Item: Permissions for vwXYZs\n' +
    '-- Generated: 16/5/2024, 7:32:14 pm\n' +
    '--\n' +
    '-- This was generated by the MemberJunction CodeGen tool.\n' +
    '-- This file should NOT be edited by hand.\n' +
    '-----------------------------------------------------------------\n' +
    '\n' +
    'GRANT SELECT ON [dbo].[vwXYZs] TO [cdp_UI], [cdp_Developer], [cdp_Integration]',
  parameters: undefined,
  driverError: RequestError: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
      at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:384:15)
      at Connection.emit (node:events:514:28)
      at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
      at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
      at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
      at Readable.emit (node:events:514:28)
      at addChunk (node:internal/streams/readable:545:12)
      at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
      at Readable.push (node:internal/streams/readable:376:5)
      at next (node:internal/streams/from:98:31) {
    code: 'EREQUEST',
    originalError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
        at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:382:19)
        at Connection.emit (node:events:514:28)
        at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
        at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
        at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
        at Readable.emit (node:events:514:28)
        at addChunk (node:internal/streams/readable:545:12)
        at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
        at Readable.push (node:internal/streams/readable:376:5)
        at next (node:internal/streams/from:98:31) {
      info: [ErrorMessageToken]
    },
    number: 15151,
    lineNumber: 11,
    state: 1,
    class: 16,
    serverName: 'DESKTOP-XXXXXXX',
    procName: '',
    precedingErrors: []
  },
  code: 'EREQUEST',
  originalError: Error: Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.
      at handleError (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\mssql\lib\tedious\request.js:382:19)
      at Connection.emit (node:events:514:28)
      at Connection.emit (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\connection.ts:1902:18)
      at RequestTokenHandler.onErrorMessage (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\handler.ts:388:21)
      at Readable.<anonymous> (C:\xxxxxxx\MJ\MemberJunction_1.2.2\MemberJunction_Code_Bootstrap_2024_05_02T19_58\CodeGen\node_modules\tedious\src\token\token-stream-parser.ts:22:55)
      at Readable.emit (node:events:514:28)
      at addChunk (node:internal/streams/readable:545:12)
      at readableAddChunkPushObjectMode (node:internal/streams/readable:521:3)
      at Readable.push (node:internal/streams/readable:376:5)
      at next (node:internal/streams/from:98:31) {
    info: ErrorMessageToken {
      name: 'ERROR',
      handlerName: 'onErrorMessage',
      number: 15151,
      state: 1,
      class: 16,
      message: "Cannot find the object 'vwXYZs', because it does not exist or you do not have permission.",
      serverName: 'DESKTOP-XXXXXXX',
      procName: '',
      lineNumber: 11
    }
  },
  number: 15151,
  lineNumber: 11,
  state: 1,
  class: 16,
  serverName: 'DESKTOP-XXXXXXX',
  procName: '',
  precedingErrors: []
}

Duplicates #158


Make image CIS Benchmark compliant

@majguo @edburns
What will it take to make the image CIS benchmark compliant: https://www.cisecurity.org/cis-benchmarks/cis-benchmarks-faq/ ?

I tried to use CIS Red Hat Enterprise Linux 8 Benchmark L1 in tWAS Base image but the CI/CD failed with this error:

The specified platform image is not supported for creating a Virtual Machine with unmanaged disks. Please refer to the disallowed VM disk types at https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages/get#vmdisktypes.

@majguo When you get a chance, can you please let me know how to resolve this.

Related issue: https://github.com/WASdev/azure.websphere-traditional.image/issues/64

@majguo When you get a chance, can you please let me know how to resolve this.

@git4rk I'll investigate it in this sprint. Cc @edburns.

@git4rk Today I made progress by successfully deploying a VM using CIS Red Hat Enterprise Linux 8 Benchmark L1 with managed disks.

https://github.com/WASdev/azure.websphere-traditional.image/issues/64 addressed this issue.


grabhtml misses  at the end

Please change the sed command to include </html>
thanks.

Sorry about this will do a pull request


Add CheckoutSessionAsyncPaymentFailed/Succeded to Webhooks Events

Should be pretty simple and straightforward.
Types are listed here: https://stripe.com/docs/api/events/types

Running CI as a matter of course and will merge. Thanks for citing sources :)

Thank you for your contribution :)


Add style import indication in yesvelte.com

There is no direction about importing style on yesvelte.com neither on the home page nor on docs page.

@JawadAzizi thanks, I'll work on it today.
related #444


Add SAML metadata url as output from Add-SamlRp

For convenience, display the url of the SAML metadat after creating the SAML RP endpoint/relying party. The format is:
https://<b2cname>.b2clogin.com/<b2cname>.onmicrosoft.com/B2C_1A_<endpoint>/samlp/metadata

Fixed in 3.1.19


Missing execute permission for files in debian package.

Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search?

Description
After installing the .deb package from the releases page, attempting to run ipy results in the following:
$ ipy
bash: /usr/bin/ipy: Permission denied

Looking at the permissions on the file, it is missing the execute (x) permission for everybody:
$ ls -l /usr/bin/ipy
-rw-r--r-- 1 root root 60 Apr 21 04:11 /usr/bin/ipy

Compare this with the Python 3.8 executable, where everyone has the execute permission:
$ ls -l /usr/bin/python3.8
-rwxr-xr-x 1 root root 5490352 Jun  2 11:49 /usr/bin/python3.8

It's the same for ipy3 and ipy3.4
Steps to Reproduce

Download the .deb package from https://github.com/IronLanguages/ironpython3/releases/tag/v3.4.0-alpha1
Install it (sudo dpkg -i ironpython_3.4.0-alpha1.deb && sudo apt -f install)
Run the ipy command.

Expected behavior:
The IronPython interpreter starts.
Actual behavior:
bash: /usr/bin/ipy: Permission denied

Versions
You can get this information from executing ipy -V.

Thanks for the report!


OSX Build Error

The following build commands failed:
CompileC /Users/ignacio/workspace/Projects/stage/pxr/imaging/lib/glf/usd.build/Release/glf.build/Objects-normal/x86_64/baseTexture.o pxr/imaging/lib/glf/baseTexture.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Two questions, which version of clang (or Xcode) are you using? And could you post the baseTexture error message?

There is new code available. Please pull latest USD from pixar and build club from here, checkout the dev branch of USD, and go through the build club steps again. If the problem persists, feel free to re-open an issue.


feat: run autoversion to update all the versions to Mender 3.4.0

Merging despite the "Changes requested" because I got green light from Alan over slack.


CLI should print its version

Feature request
Is your feature request related to a problem? Please describe.
Usually a tool is able to print its version like on of these
supabase version
# or
supabase --version

Otherwise it is hard to know which version I am currently using
Describe the solution you'd like
One of these (or comparable solutions) print the full version of supabase cli.
supabase version
# or
supabase --version

Describe alternatives you've considered
Did not find any alternative

Hey there, you can use that command to print the version:
❯ supabase --version
1.15.0

Strange, I thought I tested it. Will check it :)

Hmm, that is very odd:
❯ supabase --help
Supabase CLI 1.15.0

Usage:
  supabase [command]

Local Development:
  db                Manage local Postgres databases
  gen               Run code generation tools
  init              Initialize a local project
  link              Link to a Supabase project
  login             Authenticate using an access token
  migration         Manage database migration scripts
  start             Start containers for Supabase local development
  status            Show status of local Supabase containers
  stop              Stop all local Supabase containers
  test              Run tests on local Supabase containers

Management APIs:
  domains           Manage custom domain names for Supabase projects
  functions         Manage Supabase Edge functions
  orgs              Manage Supabase organizations
  projects          Manage Supabase projects
  secrets           Manage Supabase secrets

Additional Commands:
  completion        Generate the autocompletion script for the specified shell
  help              Help about any command

Flags:
      --debug            output debug logs to stderr
      --experimental     enable experimental features
  -h, --help             help for supabase
  -v, --version          version for supabase
      --workdir string   path to a Supabase project directory

Use "supabase [command] --help" for more information about a command.

Thanks for reporting this. Can you share you system info (OS, arch, method of installation)?

I am building the package with nix on Ubuntu 20.04, x86_64
$ nix --version
nix (Nix) 2.8.1

$ nix build -f build.nix

$ tree result/
result/
├── bin/
│   └── supabase*
└── share/
    ├── bash-completion/
    │   └── completions/
    │       └── supabase.bash
    ├── fish/
    │   └── vendor_completions.d/
    │       └── supabase.fish
    └── zsh/
        └── site-functions/
            └── _supabase

8 directories, 4 files

build.nix:
let
  nixpkgs = builtins.getFlake "github:NixOS/nixpkgs/997423cdfc6ea4e9acb67aa1cbc49014632dbf75";

  system = "x86_64-linux";
  pkgs = nixpkgs.legacyPackages.${system};
in

pkgs.buildGo118Module rec {
  pname = "supabase-cli";
  version = "1.15.0";

  src = pkgs.fetchFromGitHub {
    owner = "supabase";
    repo = "cli";
    rev = "v${version}";
    sha256 = "sha256-JaxFpyW7+c79YyAhd0pANSMvjCg0LpKh1mjMYSe93J8=";
  };

  vendorSha256 = "sha256-XwYhi27KVccRzC1U1yhxIW1o9lCWLMfvVQ33uqQ6ujM=";

  doCheck = false; # tests are trying to connect to localhost

  nativeBuildInputs = [ pkgs.installShellFiles ];

  postInstall = ''
    rm ${placeholder "out"}/bin/{codegen,docgen,listdep}
    mv ${placeholder "out"}/bin/{cli,supabase}

    installShellCompletion --bash --cmd supabase <(${placeholder "out"}/bin/supabase completion bash)
    installShellCompletion --fish --cmd supabase <(${placeholder "out"}/bin/supabase completion fish)
    installShellCompletion --zsh --cmd supabase <(${placeholder "out"}/bin/supabase completion zsh)
  '';
}

Basically what nix does is building the go module, I am not familiar with the different ways how to build a go project, but here is the bash code that is executed to by buildGo118Module to build the project.
If you need more help regarding how nix does things, I am glad to help :)

Works like a charm, thank you! supabase-cli will be available in nixpkgs soon :) https://github.com/NixOS/nixpkgs/pull/202085


Chat Screen up to date with Hi-Fi mockups

Administrative Info
Monday Board ID: 853642866
Changes
What changes did you make?

Added Chat Contact screen page

Testing
How did you confirm your changes worked?

Passes checks

Confirmation of Change
Chat Screen Page

Lastly let's add the "Chat is coming soon, until then:" flavor text we talked about so the "chat" tab leading to a phone number doesn't feel like a complete bait and switch lol.


How to apply secml_malware to my multiclass malconv classifier？

Hi @zangobot , I am using the malconv to deal with the malware family classification problem. It's a Multi-classification tasks so I modify the malconv's last fc layer's out_features dimension and I train the malconv from scratch. If I want to apply secml_malware library to attack the multiclass malconv, what should I do?
Thanks in advance :)

Your reply helps a lot!
I'am doing the implementation now. It looks like a hard job due to my poor coding skill (: .
But I will try my best. If I encounter problems, I will contact you.
Thank you so much!

When modifying c_fast_gradient_sign_evasion for multilevel, do we need to keep the binary cross entropy or change it to a regular cross entropy loss? And if so, would we want to only want to turn on the bit that corresponds to the target class and leave the rest of the classes as zeros?

ah ok. I will wait for you to make the needed changes then. I appreciate your help!


Add checksum validation of downloaded archives

While downloading from GitHub via HTTPS gives a reasonable level of security, I'd still prefer to have the binaries verified against their respective checksum files.
I propose to add a field with a URL to a checksum file together with a checksum of the file itself. Example:
  foo_binary:
    fetch:
      url: https://github.com/...
    checksums:
      type: sha256  # Hash type used in checksums.txt as well as in `hash` below.
      url: https://github.com/foo/bar/releases/.../checksums.txt
      hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

After downloading an archive for foo_binary, binenv would also download the checksums.txt file, verify its integrity, and then verify the integrity of the archive against the appropriate checksum in checksums.txt.
An alternative would be to include all the hashes in distributions.yaml itself, but I think it'd be way too verbose.
I'm happy to contribute a PR once an agreement is reached on the details.

Hello @ppetr
That would be great.
However I've left this aside for now because I fear there will be a lot of nitty gritty details (checksums for compressed binaries, checksums inside tarballs, non standard checksum file formats, ...).
If you want to tackle this please go ahead. The above proposal seems fine to me. Keep us informed !

Great! Let's keep it simple, just to verify checksums of tarballs as they're already provided. Later we can think of expanding it, if needed.
I'll then start working on a prototype and I'll keep you updated 🙂.

After some experimenting I came to the following ideas, which can be implemented relatively independently.
Provide a checksum of a checksum file for each released version. This is the simplest solution and probably easiest to work with for authors/maintainers, but it's a bit more verbose in the distribution file.
fzf:
  description: fzf is a general-purpose command-line fuzzy finder.
  url: https://github.com/junegunn/fzf/
  list:
    type: github-releases
    url: https://api.github.com/repos/junegunn/fzf/releases
  fetch:
    url: https://github.com/junegunn/fzf/releases/download/{{ .Version }}/fzf-{{ .Version }}-{{ .OS }}_{{ .Arch }}.tar.gz
  integrity:
    url: https://github.com/junegunn/fzf/releases/download/{{ .Version }}/fzf_{{ .Version }}_checksums.txt
    checksums:
      - url: https://github.com/junegunn/fzf/releases/download/0.30.0/fzf_0.30.0_checksums.txt
        type: sha256
        checksum: 43cc37783e0bf4ed775109379b3e2073ea2bb29c9e4811d07907c868435e1b7e
      # Other versions follow.
  install:
    type: tgz
    binaries:
      - fzf

Use OpenPGP to sign chechsum files. This is often done by authors that already use PGP.
A random example: https://github.com/orgrim/pg_back/releases/tag/v2.1.0. The release includes the checksums.txt and its signature checksums.txt.asc. Then it'd be enough to provide the public key(s) of the author(s) once and use it to verify any of their releases:
  integrity:
    url: https://github.com/junegunn/fzf/releases/download/{{ .Version }}/fzf_{{ .Version }}_checksums.txt.sig
    public_key:
      # This would require https://gopenpgp.org/, probably a more heavy-weight library.
      openpgp:
        - |
          -----BEGIN PGP PUBLIC KEY BLOCK -----
          ...

So my questions are:

Are these options (or one of them) reasonable to implement?

For OpenPGP is it acceptable to add this non-trivial dependency? We could also resort to calling gpg externally, but that feels to me a bit against the spirit of binenv which is otherwise very self-contained.
Another interesting alternative could be saltpack, but its drawback is that it's very new, so its adoption rate would probably be much smaller.

Well, I think I did not understand your initial proposal.
I thought you wanted to grab the checksums (when they existed) from the released artifacts and compare to what has been downloaded by binenv install.
But it seems you'd like to add checksums for all versions in distributions.yaml.
I do not think we should be the custodians of fingerprints, this is too much responsibilities (and also, quite a chore to maintain; try a make e2e in the repo and you'll feel the pain).

Interesting. Do you have examples of such signed releases ?

Let me give a couple of examples:

https://github.com/wireapp/wire-desktop/releases/tag/linux%2F3.28.2946
https://github.com/syncthing/syncthing/releases/tag/v1.20.4-rc.1
https://github.com/dundee/gdu/releases/tag/v5.14.0

The checksums are either given as a single file (usually .txt.asc) which contains both the original checksums as well as the signature, or as a pair of files (usually .txt and .txt.asc), where the latter contains a detached signature of the former. More details can be found here: https://www.gnupg.org/gph/en/manual/x135.html
I also found out that the fingerprint of the signer's key can be extracted from a signature (https://security.stackexchange.com/q/62916/12485). Which means it'd be possible to collect these fingerprints from all projects that contain such a signature without requiring the authors to publish the key somewhere, making the process even more seamless.

I understand and that's really interesting. However there are a lot of devilish details to handle (gpg availability on the system being one of them, fetching hashes, keys, ...).
It is quite a piece to do, and will only apply to a very small subset of distributions.
If someone wants to take this, that's fine with me. But I am not sure that with the time in my hands I can do this right now.
I feel that some kind of autodiscover feature for repo should be written (after having to add and debug almost 300 entries in the distributions file, you really feel the urge for this tool). May be it could handle this and we could adapt the sources struct to handle signatures.
But again, time is lacking on my side, sorry.


Cannot find mountPath on Python Function App

I mounted a file share to a Python function app using Azure CLI by following the steps in the document.
But the app cannot access the mount path.
I would like to know how to access the mounted point.
last command
az webapp config storage-account list --resource-group $resourceGroup --name $functionApp

result (masked partially) -> The mountPath seems to be created
[
  {
    "name": "share-qa-sample-xxxxxxxxx",
    "slotSetting": false,
    "value": {
      "accessKey": "xxxxxxxxx",
      "accountName": "stfuncqasamplexxxxxxxxx",
      "mountPath": "/func-qa-sample",
      "shareName": "fs-qa-sample-xxxxxxxxx",
      "state": "Ok",
      "type": "AzureFiles"
    }
  }
]

Python code
files_in_share = os.listdir("/func-qa-sample")
-> cannot find

files_in_share = os.listdir("/mnt/func-qa-sample")
-> cannot find

with open("/proc/mounts", "r") as f:
    for line in f.readlines():
        logging.info(f"[ {line} ]")
-> "func-qa-sample" not included

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

ID: d6c128b2-3d9d-3195-6f21-5f710e761458
Version Independent ID: 74a76767-02f3-31c6-ed80-2e71c528cb2b
Content: Mount a file share to a Python function app - Azure CLI
Content Source: articles/azure-functions/scripts/functions-cli-mount-files-storage-linux.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@nekozen Thanks for the feedback! We are currently investigating and will update you shortly.

I mounted a file share to a Python function app using Azure CLI by following the steps in the document.
But the app cannot access the mount path. I would like to know how to access the mounted point.
last command
az webapp config storage-account list --resource-group $resourceGroup --name $functionApp

result (masked partially) -> The mountPath seems to be created
[
  {
    "name": "share-qa-sample-xxxxxxxxx",
    "slotSetting": false,
    "value": {
      "accessKey": "xxxxxxxxx",
      "accountName": "stfuncqasamplexxxxxxxxx",
      "mountPath": "/func-qa-sample",
      "shareName": "fs-qa-sample-xxxxxxxxx",
      "state": "Ok",
      "type": "AzureFiles"
    }
  }
]

Python code
files_in_share = os.listdir("/func-qa-sample")
-> cannot find

files_in_share = os.listdir("/mnt/func-qa-sample")
-> cannot find

with open("/proc/mounts", "r") as f:
    for line in f.readlines():
        logging.info(f"[ {line} ]")
-> "func-qa-sample" not included

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

ID: d6c128b2-3d9d-3195-6f21-5f710e761458
Version Independent ID: 74a76767-02f3-31c6-ed80-2e71c528cb2b
Content: Mount a file share to a Python function app - Azure CLI
Content Source: articles/azure-functions/scripts/functions-cli-mount-files-storage-linux.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

I have exactly the same issue

I also have the exact same issue and seems this is a recent problem, it used to work for me with the same file share and same azure function app.

Our product team is actively investigating the issue and we will keep you posted with updates via Q&A thread. If you experience the same issue, feel free to add a comment there with the details. We are sincerely sorry for the inconvenience caused.
This repo: MicrosoftDocs
/azure-docs is specifically for doc feedback and hence we will proceed to close this thread.

This issue has been closed but still occurs in the Australia East region running a Linux function on the Consumption or EP1 plans. My function is running runtime version ~4. How do we go about implementing the fix now that the issue has been addressed?

how to get a workaround of this please?  I am on runtime verion ~4 and python 3.8 Linux Azure function app.

Unfortunately, we don't have a workaround and the roll out of the fix is in progress and ETA 5/19 for it to complete.


Update wart remover

[Current coverage][cc-pull] is 79.05%

Merging [#1214][cc-pull] into [master][cc-base-branch] will increase coverage by 0.03%

@@             master      #1214   diff @@
==========================================
  Files           170        170
  Lines          9849       9847     -2
  Methods        9589       9586     -3
  Messages          0          0
  Branches        103        105     +2
==========================================
+ Hits           7783       7785     +2
+ Misses         2066       2062     -4
  Partials          0          0

Powered by Codecov. Last updated by [c465c4b...736fe9a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/quasar-analytics/quasar/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/quasar-analytics/quasar/compare/c465c4bcfed4794a10286c2f7b0673f39f10ef2d...736fe9a2151fc468007747063dbea83ac9726f44
[cc-pull]: https://codecov.io/gh/quasar-analytics/quasar/pull/1214?src=pr

There’s a new comment on puffnfresh/wartremover#226 that may allow me to enable the ExplicitImplicitTypes wart, but I’m not sure if the cure is worse than the disease in this case. Thoughts?

Great to see WartRemover 1.0.0 in the mix. Other than the one question, 👍🏽.

Oh, missed your earlier comment — I'd say let's leave the wart disabled and keep an eye on the issue.


[FEAT] - Validation and Generation of ServiceProxy URLs

Priority
(Medium) I'm annoyed but I'll live
Description
The service-proxy allows to expose Kubernetes Service resources from an onboarded cluster. In the past this has caused troubles if the combined $service-$namespace-$cluster is longer than 63 characters.

The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less.
RFC1035

From an initial discussion with @databus23 this solution is proposed:

generate shorter links smarter: 😄 Instead of always generate cryptic shortlinks we only do it if it is required.
Ideally we want the service and cluster name to be part of the url because it's useful information. So we can try to generate names like $service--$cluster and fallback to $service-$hash only if we would otherwise end up with more then 63 characters.

With some proposals for the generated name:

We should an additional annotation to the service that can specify the service name. The name of service object is to long as it contains the helm release. E.g. kube-monitoring-external-prometheus --> external-prometheus.
So by specifying something like greenhouse.sap/expose-name: "external-prometheus" in addition to greenhouse.sap/expose: "true" we can generate a url with a shorter more meaningful name
We should maybe constraint the length of cluster names so that we don't end up with names like garden-greenhouse--monitoring-external. This cluster should really be named monitoring-external in the greenhouse context.
As long as there isn't a clash of service names in a cluster (some service name in multiple namespaces) we use $service--$cluster as the hostname. If there is a clash we add the namespace to the hostname: $service--$cluster--$namespace. This might introduce a change in urls for an existing service if a second one with the same name is created in the cluster but at least we can resolve the conflict.
If the resulting string is > 63 characters we hash the name with something short similar to how the deployment hashes are generated and we take a 52 character prefix from the generated name and add "-[10 digit hash]" to it. Because we changed the ordering of things in 3. we have a higher chance that service and cluster name will still be visible and only the namespace will be replaced by a hash.

Reference Issues
No response

With introducing a first solution to capping the host:
https://github.com/cloudoperators/greenhouse/pull/611
We introduced a regression because we changed order of service, cluster and namespace in the host.
The decomposition was decoupled of the URl creation and therefore broke.
We hotfixed here: https://github.com/cloudoperators/greenhouse/pull/617
But still need:

[ ] A proper persistence of service, cluster and namespace even with hosts exceeding 63 characters
[ ] A proper decomposition of the host


Need to specify curl in pre-requisite package for ansible based openebs setup.

Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST

What happened:
The ansible playbook failed in the step where curl is used as shell command.
What you expected to happen:
Curl should be added as a pre-requisite in the documentation
How to reproduce it (as minimally and precisely as possible):
Run setup k8s-localhost role without installing curl package
Anything else we need to know?:
No

Thanks for the catch ! We will add this in documentation

The dev docs now includes curl package to be added into list of pre-requisites. Closing this issue


[SyntaxError: Unexpected token =]

I'm getting this error while compiling on version 3.1.0.
Issue can be replicated in version 3.0.0 also but the issue is not present in 2.1.0.

You’ll need to include more details if you’d like me to debug this. We have a testing suite that runs automatically. https://travis-ci.org/jonathantneal/postcss-partial-import

Upgrading from 2.1 to 3.1 I get the error at the end. Issue persists after reinstall.
As that is ES6 syntax, I would guess that the issue is that the published package is not referencing the transpiled code.
> postcss -c tools/postcss.js -d web/public/styles web/views/styles/*.css

<DIR>/node_modules/postcss-partial-import/index.js:9
        (opts = {}) => processor(
              ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at <DIR>/node_modules/postcss-cli/index.js:107:14
    at Array.map (native)
    at Object.<anonymous> (<DIR>/node_modules/postcss-cli/index.js:100:24)

npm ERR! Darwin 16.3.0
npm ERR! argv "~/.nvm/versions/node/v4.7.2/bin/node" "~/.nvm/versions/node/v4.7.2/bin/npm" "run" "postcss"
npm ERR! node v4.7.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE

I believe this should be more than sufficient information for you guys to resolve this.

Thanks @abramz for including that snippet. The issue there appears to be the ES6 syntax, which is supported in Node 6.5+, although this plugin eagerly expects 6.9.1+.
Resolving that issue is a matter of deciding whether this plugin should support Node 4x environments. And then, if it does, how those environments should be supported. It could involve transpiling, yes, or it could involve multiple distributions based on process.version. I’m not certain the answer to any of these questions, because it’s difficult to know the majority user base of PostCSS, nor the performance impact in Node 6 of transpiling the code to Node 4. Without hard facts, it becomes a matter of opinion, and falls back to the user base.

I understand what you are saying. After posting I dug around the repo a bit more and realized you aren't using babel.
Looking around the ecosystem, postcss itself supports >=0.12. I looked at a pretty small sample of plugins (~10) and none of them specify engines, however 8/10 use babel, so they would at least support down to node v4.
In my opinion, libraries should support, at a minimum, the active versions of node, >=v4. My team will not be moving off v4 for a while as some modules we depend on break on v6 and we have another year of LTS support.
However, you are mostly the only contributor to this open-source plugin, and adding this sort of support puts all the pain on you.
If my team has to use v2.1 until we can upgrade to v6, then that is what we have to do, it works perfectly well, so it isn't a problem.

Just ran into the same thing, gentoo current stable is nodejs-4.6.1. Thanks for the breakdown, everyone.

If there’s a simple pattern to compile out the node v4 version on npm publish, I’d definitely try to get it in.

This plugin is now Node v4 compatible as of v4.0.0 (fittingly)

Awesome man. Thanks so much.
On Thu, May 11, 2017, 11:56 AM Jonathan Neal<EMAIL_ADDRESS>wrote:

Closed #32
https://github.com/jonathantneal/postcss-partial-import/issues/32.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jonathantneal/postcss-partial-import/issues/32#event-1078818553,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD4v2SYK7opKsOJJftOMUO5KE3M6BEGjks5r41nqgaJpZM4LVaQR
.


Open file in new buffer when holding down control during drop

gvim had this same functionality so when you hold down control when dropping a file it opens in a new buffer.

Sorry for the slow merge, thanks for the contribution 👍

This is the best gui I've found with the fewest bugs so I'm happy to help.
On Wed, Apr 26, 2023 at 5:08 AM Rasmus Ishøy Michelsen <
@.***> wrote:

Merged #79 https://github.com/RMichelsen/Nvy/pull/79 into master.
—
Reply to this email directly, view it on GitHub
https://github.com/RMichelsen/Nvy/pull/79#event-9100984451, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4C4G45BFTAU4AKG53KJMLXDDQZ5ANCNFSM6AAAAAAW7TZF6E
.
You are receiving this because you authored the thread.Message ID:
@.***>


StringIO py3 compatibility

Hi folks,
Attempting to follow proper porting guidelines and do these in smaller, more digestible pieces. This PR adds StringIO compatibility for python3.

https://github.com/github/octodns/pull/384 added py3 support


Update AuthenticationResponseProcessing.java

Before this fix here is HUGE security bug which successfully (without any checks ) authenticates everyone  who sets UAF_ALG_SIGN_RSASSA_PSS_SHA256_DER in assertion

Thanks for the time and effort putted into reviewing the code! Really appreciate it!
Cheers,
Neb.


change an equipped item just takes off the equipped item

Steps
1 equipped long sword +2
2 you get mage masher
3 choose mage masher and try to equip it
Expected
4 take off long sword +2 and equip mage masher
Actual
4 just take off long sword +2 w/o equipping mage masher
(5 if you try to equip mage masher, you can do it.)

Fixed.  Will be in the next push.


Lazy Static / Global JsValue Support

Summary
I'm not sure if the following is a bug report or a feature request. So if some could help me identify what it is and how to proceed that'll answer this question.
The Issue/Bug
I have an external JS module keep track of a couple of things, the details aren't too important. I need to access this module in several locations so I'm using lazy_static to allow for this. Unfortunately this does not work.
...
#[wasm_bindgen(module = "src/js/shim.js")]
extern "C" {
    type WasmBinList;

    #[wasm_bindgen(constructor)]
    fn new() -> WasmBinList;
}

lazy_static! {
    static ref GLOBAL_BINARY_CONTROLLER: WasmBinList = WasmBinList::new();
}
...

Which results in the following error:
error[E0277]: `*mut u8` cannot be shared between threads safely
  --> src/lib.rs:49:5
   |
49 |     static GLOBAL_BINARY_CONTROLLER: WasmBinList = WasmBinList::new();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely
   |
   = help: within `WasmBinList`, the trait `std::marker::Sync` is not implemented for `*mut u8`
   = note: required because it appears within the type `std::marker::PhantomData<*mut u8>`
   = note: required because it appears within the type `wasm_bindgen::JsValue`
   = note: required because it appears within the type `WasmBinList`
   = note: shared static variables must have a type that implements `Sync`

If anything is there another way to get a globally scoped object that contains a JsValue or a way to fix the issue caused by the mutable pointer? (Bug fix or new feature?)

The reason for this is because it is not possible to use or send JS values between threads. This is a limitation in Wasm, not Rust, so there's not much we can do about it right now.
This is actually a great example of how Rust's compile-time guarantees prevent potential bugs, since Rust is preventing you from causing thread unsafety.
The solution is to use thread_local, which creates a new value per thread:
thread_local! {
    static GLOBAL_BINARY_CONTROLLER: WasmBinList = WasmBinList::new();
}

As a bonus, it no longer needs to be thread safe, so you can now use Rc, RefCell, etc.
To access the variable you use the with method:
GLOBAL_BINARY_CONTROLLER.with(|x| { ... })

Ah thank you @Pauan for the clear a concise explanation!

I know this is a closed thread but @Pauan do you mind clarifying what threads have to do with it? I ran into this same problem and while your explanation (and the error) makes sense if I was using threads, I'm not, so why does it come up.

@paytonrules Rust is designed to always be thread-safe, even if you happen to be using a single thread.
This means all libraries are guaranteed to be thread safe, so you never need to worry about threading (unlike C/C++ where threading is a huge problem). Imagine if you couldn't use a library because it was designed for single threading only, Rust prevents that.
And it makes it easier to upgrade your program to be multi-threaded later.
In the future wasm-bindgen will become multi-threaded by default (just like native Rust), so making your programs thread-safe will prevent future breakage.

@paytonrules Statics are accessible to all threads, hence they must be thread-safe. The compiler can't possibly prove/know whether or not you dynamically happen to use multithreading.


Request from the Browser is blocked by CORS

Description:
I am getting following intermittent error when local Ballerina Service is called from the Browser.
Access to fetch at 'http://localhost:8090/app/users' from origin 'http://localhost:5001' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

This issue will not occur when service is called from the Postman.
Also this issue will not occur when service is deployed in Choreo.
Only happens when local ballerina service is called through the Browser.
Steps to reproduce:
Tried to narrow down the root cause for this issue and identified this happens within the following jwtDecode function.
public isolated function jwtDecoder(string jwt) returns types:JwtRecord|error {
    [jwt:Header, jwt:Payload] [_, payload] = check jwt:decode(jwt);
    types:JwtPayload|error jwtPayload = payload.cloneWithType();
    string[] roles = [];
    string? email = ();
    if jwtPayload is types:JwtPayload {
        email = jwtPayload.email;
        roles = jwtPayload.groups;
    }
    if email is () {
        return error("Could not fetch email from JWT");
    } else {
        types:JwtRecord returnInfo = {
            email: email,
            roles: roles
        };
        return returnInfo;
    }
}

This function is called within the Request Interceptor
Below is the ServiceConfig I used.
@http:ServiceConfig {
    cors: {
        allowOrigins: ["http://localhost:5001/"],
        allowCredentials: false,
        allowHeaders: ["*"],
        allowMethods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
        maxAge: 84900
    },
    interceptors: [jwtInterceptor]
}

Suggested Assignees :
@chamil321

Closing this issue since the internal issue is closed. The reason for this behaviour is that the preflight option request is internally handled by a request interceptor. Ideally these requests are handled internally, so overriding this behaviour caused some unexpected errors


Remove mirage fixtures

Purpose
No more icky Fixtures. Only Factories.
Summary of Changes

Delete fixtures directory
Update default scenario to use node factory instead of fixtures for NNW and Popular nodes
Update tests to use node factory instead of fixtures for NNW and Popular nodes

QA Notes
No need to test. Developer-only changes
Ticket
N/A
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1445

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

Totals

Change from base Build 1436:
0.0%

Covered Lines:
2221

Relevant Lines:
3432

💛  - Coveralls


Basic tls1.3 handshake updates

Issue # (if available): 968
Description of changes: Just adds the simplest tls1.3 handshakes. Does not add hello retries, early data, session resumption, or any other handshake that requires a new handshake type flag -- new handshake flags are a slightly more complicated change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (state_machine@76485b7). Click here to learn what that means.
The diff coverage is n/a.

I was wondering the saw tests would be simpler if CHANGE_CIPHER_SPEC is taken out of the TLS1.3 state machine, since the receive state is simply skipped over (and not really considered a state?). s2n_ccs_send() can then be called as part of another state in TLS 1.3 (eg. after server_hello). It also makes it easier to reason and configure the sending of ccs since it's optional (eg. if we'd like to disable middlebox compatibility mode)


Sign sheet materials initialization being flagged on dedicated server

Describe the bug
java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/Sheets for invalid dist DEDICATED_SERVER
Steps to reproduce

Launch server.
Crash occurs when loading Connector mod.
Failure message: Connector (connectormod) encountered an error during the complete event phase
java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/Sheets for invalid dist DEDICATED_SERVER

Using Connector-1.0.0-beta.17+1.20.1-full
Logs
https://pastebin.com/5qVhjcz6
Additional context
No response

Duplicate of #340; will be fixed in the next release


ListAllWhenCases new rule

Expected Behavior of the rule
Given
enum class Foo { A, B, C }

These should pass:
fun decide(foo: Foo): String =
    when(foo) {
        A -> "A"
        B -> "B"
        C -> "C"
    }

fun decideNullable(foo: Foo?): String =
    when(foo) {
        A -> "A"
        B -> "B"
        C -> "C"
        null -> "null"
    }

These should fail:
fun decide(foo: Foo): String =
    when(foo) {
        A -> "A"
        B -> "B"
        else -> "C" // else means C now, but could mean C or D in the future
    }

fun decideNullable(foo: Foo?): String =
    when(foo) {
        null -> "null"
        A -> "A"
        B -> "B"
        else -> "C" // else means C now, but could mean C or D in the future
    }

fun decideNullable2(foo: Foo?): String =
    when(foo) {
        A -> "A"
        B -> "B"
        C -> "C"
        else -> // else means null now, but could mean null or D in the future
    }

Configuration parameters:

enable for enums
enable for sealed classes

Default: off to preserve compatibility, also this my be considered a team style decision.
Suggested group: error prone, which means that maybe it's worth enabling by default?
Note: this is not the same as the related MissingWhenCase or RedundantElseInWhen, although MissingWhenCase could be amended with some configuration parameters to treat else as "non-existent" and flag the missing cases.
Context
When systems evolve things change, this is true for internal enums too. Imagine you have that Foo enum like above and someone adds a D constant. In this case if the when is listing all cases without else, then whoever adds this code will need to fix a compile error and make a decision on what to do exactly with D. While if there's an else, they'll get some random implicit behavior depending on how the previous developer coded the when, which may not be valid for the meaning of D.

although MissingWhenCase could be amended with some configuration parameters to treat else as "non-existent" and flag the missing cases.

+1 on this as the way to go. Ideally having an allowElseExpression: true (default) would be fairly easy to add to control the logic here:
https://github.com/detekt/detekt/blob/7620ce71e3ff055bb65497d56a959b8baa54024f/detekt-rules-errorprone/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/bugs/MissingWhenCase.kt#L80

Awesome collaboration here👏, thank you @sowmyav24 for doing the heavy lifting.

Hmm the release notes say there's a new ListAllWhenCases in 1.15.0, added by https://github.com/detekt/detekt/pull/3297, you might want to remove that as in the end there was new rule added in this issue.

Hmm the release notes say there's a new ListAllWhenCases in 1.15.0, added by #3297, you might want to remove that as in the end there was new rule added in this issue.

Good point https://github.com/detekt/detekt/pull/3856


Analysis of power for RatioOfMeans and Mean

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

Project coverage is 100.00%. Comparing base (64e23ce) to head (eb2f68d).
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #68   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          707       790   +83
=========================================
+ Hits           707       790   +83

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


HIVE-23930: Upgrade to tez 0.10.x

initial commit, compiles successfully, good for a ptest

@abstractdog  you could kill the prechecks in the Jenkinsfile temporarily...doesn't this needs jdk11 as well?

@abstractdog you could kill the prechecks in the Jenkinsfile temporarily...doesn't this needs jdk11 as well?

@kgyrtkirk : JDK11 is not a must-have for newer tez versions
finally, I reproduced this issue locally, seems like the artifacts of tez 0.10.1-SNAPSHOT somehow don't contain the changes of TEZ-4145, otherwise, it should compile
https://github.com/apache/tez/commit/7dbec63e1f97eea95ab998e16ffcd592ff6be332#diff-358f7c423b64e350b9cae8462c24de20R60

@kgyrtkirk : could you please check what to do in order to start testing?
I can see: "kgyrtkirk added tests pending and removed tests failed labels 4 hours ago", and travis-ci is passed (which is compilation as far as I can see), but I cannot see a testing phase

it's waiting for execution:
http://ci.hive.apache.org/job/hive-precommit/job/PR-1311/3/console

it's waiting for execution:
http://ci.hive.apache.org/job/hive-precommit/job/PR-1311/3/console

cool, thanks! it's just confusing that I can see "All checks have passed, 1 successful check"

@kgyrtkirk : another issue, if you have the chance to take a look...pr-merge fails with:
[2020-07-28T16:22:54.138Z] [ERROR] Failed to execute goal on project hive-shims-0.23: Could not resolve dependencies for project org.apache.hive.shims:hive-shims-0.23:jar:4.0.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.tez:tez-api:jar:0.10.1-SNAPSHOT, org.apache.tez:tez-runtime-library:jar:0.10.1-SNAPSHOT, org.apache.tez:tez-mapreduce:jar:0.10.1-SNAPSHOT, org.apache.tez:tez-tests:jar:tests:0.10.1-SNAPSHOT: Could not find artifact org.apache.tez:tez-api:jar:0.10.1-SNAPSHOT in wonder (http://artifactory/artifactory/wonder) -> [Help 1]
is it possible to enable SNAPSHOTS for "wonder"? tez 0.10.1-SNAPSHOT artifacts are present in:
https://repository.apache.org/snapshots/org/apache/tez/tez-runtime-library/0.10.1-SNAPSHOT/
and works for me locally without using a settings.xml

FYI, I just figured out that this is blocking Hive adoption of JDK 11 (see HIVE-22415)

green run with released tez 0.10.0 artifacts + the contents of HIVE-23190, HIVE-24108
cc: @ashutoshc

this is pushed to master directly with HIVE-24108, HIVE-23190


Added my profile to the list

I have addded my github profile to the list.

Awesome. I will merge in the live stream tomorrow


Updates to Scrython

The following updates are needed for Scrython:

Arena IDs need to be accessible
Add unique optional parameter to Search()
Add lang method to CardsObject()
Add printed_name, printed_type_line, printed_text to CardsObject()
Add support for cards/:code/:number for multilingual

Added all of these as of 1.5.0. Closing.


Some enhancements

Proposing some enhancements.

Sets Redmine user information to built-in User model.

username
first_name
last_name
mail

Add REDMINE_AUTHZ_PROJECTS parameter.
This parameter can be used for allowing users
which belong to specified projects.

Good job, I merge :)


Last widget/page is being rebuilt when navigating to different beam location, which results in errors

Describe the bug
When navigation to a different beam location, the current page you are on (the location where you are navigating away from) is re-build 1 more time.
Since I put my Bloc Providers in each beam location and I navigate to location B from location A and the current page of location A is rebuilt right before navigating (for some reason this happens). I get a (bloc) provider not found exception.
Beamer version: beamer: ^1.6.1
To Reproduce

Create multiple beam locations (A, B, C) with different Bloc and bloc providers respectfully in each location.
Navigate from a beam page called 'homePage' on beam location A to a beam Page called 'logOutPage' beam location B.
When you navigate to beam location B a red assert screen will be shown that the bloc of type 'Foo' can't be found in the tree, because beam location B has already been loaded, and after that beam Page called 'homePage' of beam location A is rebuilt, and throwing the error when a bloc Builder is reached.

To temp fix this is my code, I do a if(context.watch<Foo?> == null) return SizedBox.shrink();.
Expected behavior
Navigate from beam location A to beam location B without rebuilding the beamPage 'homePage' after beamToNamed is called.
Desktop (please complete the following information):

Every platform

@slovnicki any updates ?

Found a solution.
Do not register, any providers in the builder(...) function in the location.
Instead if you want to wrap every page with a provider,
Extend beampage and wrap your providers arround it. This works but is not pretty.
It should be fixed in beamer itself.

It also seems to help to put the transitionDelegates to: NoAnimationTransitionDelegate()
For example:
  static Future<void> ensureInitialized() async {
    final appOptions = CoreAppOptions.instance;

    delegate = BeamerDelegate(
      initialPath: appOptions.initialPathOfApp,
      stackBuilder: (routeInformation, beamParameters) {
        CoreAppBeamerDelegate.beamParameters = beamParameters;
        CoreAppBeamerDelegate.routeInformation = routeInformation;

        return BeamerStackBuilder(
          beamStacks: [
            CoreAuthLocation(),
            CoreEnvironmentLocation(),
            CoreProfileLocation(),
            CoreSettingsLocation(),
            ...appOptions.locations(),
          ],
        ).call(routeInformation, beamParameters);
      },
      routeListener: (routeInformation, beamerDelegate) {
        if (kDebugMode) {
          debugPrint('Navigate to ---> ${routeInformation.uri}');
        }
      },
// HERE
      beamBackTransitionDelegate: const CoreNoAnimationTransitionDelegate(),
      transitionDelegate: const CoreNoAnimationTransitionDelegate()
// HERE,
      notFoundPage: const BeamPage(type: BeamPageType.noTransition, child: CoreNotFoundScreen(), key: ValueKey('tools.notFoundPage.NotFound')),
    );
  }


Add Option To Use DD/MM/YY Instead Of MM/DD/YY As A Date Dormat

Hey, thanks for using the extension! I am in full support of this feature. I will try to implement it in the next release!

After looking into this request some more, here are my findings. Below are the two places where a timestamp is displayed to the user:

In both cases these timestamps are location specific and change to accommodate the normal format for displaying date/time for said user. In particular #2 is an input with type datetime-local which is completely managed by the browser and does not allow custom formatting. I really like the UX of the datetime-local element so I do not see myself changing it for something else. For that reason, it would really be confusing for UX if we change #1 but do not change #2. Considering that they are both are location sensitive already, I do not see any reason to change them.
Thank you for your input; it is much appreciated!

@null93
I did say to add an option. And not to make it the default behaviour. So users who are fine with the UX as it is will not be affected. And i very much sure even if the browser report MM/DD/YY you can use JavaScript to move DD and MM. before outputting them

@cpuuntery

I did say to add an option. And not to make it the default behaviour. So users who are fine with the UX as it is will not be affected.

I cannot make it optional if I cannot change the format even manually. From the best of my knowledge, there is no javascript that can change the format of <input type="datetime-local" />. If you would like to prove me wrong, please do so and I will be happy to change it. Unfortunately, I am pretty positive that this element does not support a custom format and is fully managed by the browser.

And i very much sure even if the browser report MM/DD/YY you can use JavaScript to move DD and MM. before outputting them

These values are not interchangeable because of their ranges (MM is 1-12 & DD is obviously more than 12).
Again, I am sorry that this is something I cannot implement. I was on board initially, but if it means changing the UX of the input element, I simply do not want to do that. Thanks for using the extension! Have a great day!


Propagating Downstream Response Headers (set-cookie) to the Wundergraph Reponse

Problem
Hi Wundergraph! Our downstream client uses cookie based authentication where, on a successful login mutation, they pass a set-cookie header in the response with the auth token.
With this flow, we would need to pass this header upto the client but I'm not seeing anywhere to do this. With request headers it's simple as we can specify to pass them in the introspect.graphql options but there's no option for response headers.
My other thought was to hook into the originResponse however I'm not sure how I can use this hook to mutate the final response.
Can this be done?
Suggested solution
Similar to passing request headers in the graphql introspection, can we also add response headers in the same section? There's complications to this due to a Wundergraph query potentially making multiple requests to the downstream api. We could add an enum with values of collate and overwrite so that the former would add all the values of the header in question to a comma-delimited string whilst the latter just chooses the last value set. Not too much thought has gone into the above though so there might be stumbling blocks.
Additional context
My downstream response headers:
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: Opaque_token=aaa-bbbccc000ddd111eee222fff333-; Path=/; Domain=www.testdomain.com; Expires=Tue, 30-May-2023 13:14:20 GMT; Max-Age=15552000; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000
Vary: Origin
Vary: Accept-Encoding
X-Content-Type-Options: nosniff

The response headers on the Wundergraph response:
HTTP/1.1 200 OK
Content-Type: application/json
Vary: Origin
Date: Thu, 01 Dec 2022 13:14:20 GMT
Content-Length: 119

What are your thoughts on this:
The "Set-Cookie" request comes back.
You can use a post origin response hook to store the cookie Header somewhere, e.g. in a database (per user or per anything).
Next, you configure to send a header named cookie to the origin (in the data source), and you set it to "X-Cookie" (from the client request).
This X-Cookie will never be set from a client request, so we don't send it to the origin.
Now, we can use a hook to set the previously stored cookie to requests to this origin.
All of this means that cookies for this never need to get back to the client.
All we do is store them server side per user.
As authentication is already implemented, this will more or less just work.
What are your thoughts?

Hey Jens, a few issues with this in my eyes:

Once we store the cookie, a user would have to then be identifiable again to access the cookie. Without passing a id token or something similar back to the client this feels impossible. If we need this id token, isn't this the same as passing the response header back to the client?
Setting Cookies from the server is a common flow (for Authentication or otherwise) and if we look at the additional steps needed for this:

Database Creation
Handling of expiry dates
Invalidation of cookie values
etc
The list is pretty large.

Is the issue here that only returning the body and not the response headers is supported in the graphql-go-tools package?

No, it's not an issue. I'm just trying to find the best possible solution.
Are you using WunderGraph authentication (cookie or token-based)?
If not, it seems like you're looking at just proxying the user identity to the origin,
so having a way of sending back a response header would be feasible.

We're not using Wundergraph authentication right now. You're correct with the later point, authentication would solely be handled by the origin service. Wundergraph would just needs to pass on the set-cookie response header and the cookie request header (the latter is easily done).

Let me know your thoughts on this one: https://github.com/wundergraph/wundergraph/discussions/389


accepts_nested_attributes_for does not know when to create an image

Not sure if it's a feature request or just some sort of misconfiguration.
I have to use a Entity has_one Image schema in my project. Normally, that would be a multiple images upload — just as you have in the README, but I have to use has_one.
So initially I had to pass accepts_nested_attributes_for something like this:
accepts_nested_attributes_for :photo, allow_destroy: true,
  reject_if: lambda { |attributes| attributes['image'].empty? }

However, that does not really work. The way controller passes the params is something like this:
... "photo_attributes"=>{"image"=>"null", "remote_image_url"=>"", "_destroy"=>"0" ..

on updates, or just
... "photo_attributes"=>{"image"=>"null"} ..

On new records. Naturally, image is not blank, so ActiveRecord tries to create a Photo with an empty image.
"null" is there because of an input with data-reference which is generated by the refile helper, and it seems that it does not matter if I use direct uploads or not. Not sure if this is all by design, but I've ended up with doing this:
  accepts_nested_attributes_for :photo, allow_destroy: true,
    reject_if: lambda { |attributes| Photo.empty_attributes?(attributes) }

  def self.empty_attributes?(parameters)
    (parameters[:image].blank? || parameters[:image] == "null") &&
      parameters[:remote_image_url].blank?
  end

Am I wrong/misunderstanding the design somewhere or is there a room for improvement?

Oh, sorry, refile master (0dc2072a90), Rails 4.2.3

@yaroslav I'm curious, how do you use accepts_nested_attributes_for with multiple uploads? I'm under the impression that you either use accepted_attachments_for or accepts_nested_attributes_for. Or am I misunderstanding you?

@abitdodgy I'm using accepts_nested_attributes_for for a has_one relationship and besides the issue described it all works just fine.

@yaroslav Gotcha, I was hoping there was a way to do multiple uploads with additional attributes without some JS hackery!

@abitdodgy I'm hoping for the same thing.

The value in that field should be blank and not "null".

Fixed.

Thanks!!
On Thursday, September 10, 2015, Jonas Nicklas<EMAIL_ADDRESS>wrote:

Fixed.
—
Reply to this email directly or view it on GitHub
https://github.com/refile/refile/issues/300#issuecomment-139242087.

--
Yaroslav


g:tern_request_timeout default value

I think the default value of g:tern_request_timeout need set to biger than 1. cause I ofen get the ”time out“ warning when I add some ”loadEagerly“ files in .tern_project.  it obvious that 1 second is no enough to get the query return when the project is more than one file.

Does attached change help? It pre-analyzes the files that are loaded eagerly to avoid taking too long on the first request. A pull request that makes it possible to configure the timeout would also be accepted.


Disable javadoc linting.

This makes mvn javadoc:javadoc work on java 8.
This may mean that releases need to be done with java 8 (I don't think this option exists in java 7's javadoc), but we are still targeting java 7 due to target=1.7 in oss-parent so I think that is fine.

:+1:

Can we add a comment requesting people to clean up the java-docs, so we can remove this at some point?

@xvrl comment to where?


Consolidate map controls in right hand corner

Move map controls up from bottom right to top right

Not sure how this interacts with the expanding layer list but I can try it and see.

not necessary


Create a separate mailbox only for calendar invites

Describe the Issue
We currently use the main cloud.pathfinder email account for 2 purposes:

for email inquiries about public cloud for our customers, and
for organizing team ceremonies, meetings, community updates, and training sessions that we provide.

The problem is that we want to have a nice auto-response when someone emails us about cloud that gives them some starting activities to provide value while we triage responses.  We have set this up.
However when we sent out a calendar invite, a lot of people default accept the meeting, which sends an email, and then triggers the auto-response as if it were a cloud inquiry.  This creates confusion and unnecessary back and forth email traffic.
We want to set up a different email account that we will purpose only for calendar events.  It will not have an auto-responder and won't have the same problem.
Additional Context
Acceptance Criteria

Meet with Julian to discuss the name of the mailbox - cloud.pathfinder.events
Create the mailbox in ticketing system
To send meeting invites from the new mailbox to personal Gov.bc mailbox to test

.
.
.
.
.
.
.
.
.
.
Extra Template Info
Definition of Ready
These set of conditions will need to be met in order to bring a ticket into the sprint and start work. Protects the team from unclear requirements.
Issues (Task/Story/Spike) aligned to an EPIC and linked appropriately.
Assigned to the appropriate CPF MEMBER (and is not left blank in ZenHub) at the start of sprint (1st day of the sprint)
Acceptance has been defined for the issue and has been reviewed with CPF team and approved by the necessary approver.
Has been sized and estimated by the delivery team.
Detailed breakdown of the steps required to complete the story in the additional context
Any additional specifications have been documented, reviewed with CPF and approved by the necessary approver.
Acceptance Criteria
A set of pre-defined requirement that need to be met in order to mark the user story as “done”.
It should be testable with no room for interpretation
It should be either “pass” or “fail”
It should be clear enough for business stake holders to understand
As part of the user story, it should be written from the user perspective
A well written acceptance criteria is great for

managing expectations
defining scope
reducing ambiguity
establishing testing criteria for QA
Given (Pre-condition)
When (Action)
Then (Outcome)

Definition of Done
These set of conditions are met for work to be considered as complete on an issue.
All acceptance criteria(s) have been validated.
All the necessary documentation for the issue has been uploaded to Teams.
Functionality has been tested when applicable.
Functionality has been demonstrated to the relevant stakeholders (where applicable).
Story has been scheduled for a Sprint Demo/community update and impacted teams invited to the Demo.
Stories accepted by PO and documented for potential sharing with impacted users.

Documented = Captured in Community Update (CU) deck
Release notes = aspirational goal of providing a bulleted list of features and changes that our users can touch. Was going to store them in our Cloud Pathfinder repo. Can also display to users in the CU

cloud.pathfinder.events mailbox had been created. Omo and Catherine are set as back up. Password only send to one owner which is Julian.

Finishes tested sending meeting invites to personal mailbox. Works well.


package size limit increase request

Package name: jenkenv
link: https://pypi.org/project/jenkenv/
size: 121M
index: PyPI only is fine.
Reason: I use a pre-built distribution of a dynamically linked java package (jenkinsfile-runner).
While the build is 121M, an increase to 150M would be preferred for future-proofing. Let me know if you need anymore info from me.

Hi @jamesalbert, could you give us some more details about what the package does? The description on PyPI is empty and https://github.com/jamesalbert/jenkenv is 404.

No worries. It creates virtual environments for people using jenkinsfile-runner. Provides a workflow along the lines of:
jenkenv install 2.121.3
jenkenv use local 2.121.3
jenkenv run-jenkins # install your desired plugins at localhost:8080
jenkenv run Jenkinsfile

Source isn't public yet, will do that tonight, but I wanted to get a working build going first.

I've also added long_description after I uploaded so it will have more details in the next upload :)

in any case, repo is public now https://github.com/jamesalbert/jenkenv
link to jenkinsfile-runner for reference https://github.com/kohsuke/jenkinsfile-runner

@jamesalbert I've set the limit for jenkenv to 150MB on PyPI.

@di you rock, ty!


qr code generator in termal

What's the problem this feature will solve?
much easy for phone scan don't have to type IP address in each time

cf https://github.com/http-party/http-server/pull/738 (but given the lack of activity in this repo it's unlikely to be merged)

that awesome I should close this


updated stores to fetchById on every app open

To test, checkout backend branch simplify_storefront_1
Make sure that no information is missing from the listing icons in storefront (check bookmarks, launch shortcut, edit, stars, title etc)
make sure info still loads into app detail modal
make sure editing still works from listing icon and detail modal

Everything looks good and appears to be loading how it should. (Opening Listings from Center, Refreshing the page, Editing the listings) :+1:

:+1:


vagrant 9.x upgrade

Seems like it's not working in 9.3, but seems like a really col premise. If I find some time, I'll try to look into getting it working. Accepting pull requests?

Mitchel broke plugin support in 0.9.x and should be fixed in 0.9.4 if I recall correctly, but I haven't had time to look into it yet.
Also the 0.9.x series isn't working too well for me for now.
Anyways, I'd be glad to accept pull requests if you get it to work. I will probably create separate branches for 0.8 and 0.9 support.

Thanks Tom,
I messed around with it for a few hours (first time in the guts of Vagrant, so thank you very much!), but ended up moving toward a cucumber-centric approach: http://www.jedi.be/blog/2011/12/15/bdd-testing-with-vagrant/
I like your approach more (since it's a little more grokable for some devs), but this gave me a reason to learn up on BDD, so I had to take it. I'll give it another go at v0.9.5 (the current v0.9.4 doesn't seem to work). From the looks of mitchellh/vagrant#684, I'm unsure whether Mitchell's working at backward compatibility, but hopefully I've misunderstood :)

I went the BDD way using RSpec myself but Cucumber is equally good. :)
However I'm still using vagrant-kick to double-check after my vm's are provisioned. It's intentionally left very low level because of the cucumber/rspec frameworks. I just wanted something before (rspec), during (vagrant provision) and after (vagrant kick).
I'll still keep an eye on the vagrant mailing lists, but for now I'm holding off of the 0.9.x series. It's just not stable enough yet due to the big api changes.
Thx for the update and the interest btw!


ARROW-13049: [C++][Gandiva] Implement BIN Hive function on Gandiva

Implement BIN Hive function on Gandiva

@anthonylouisbsb can you review it, please?

@jpedroantunes There are test failures can you check

@jpedroantunes There are test failures can you check

@projjal
Any idea of how to solve the MINGW build failures?
I noticed that all tests failing are related to the BIN functions with int64 input values. What am I missing here?


WIP - feat(watch): Add lerna watch command

Adds a command that supports watching for changes within Lerna packages.

Description
lerna watch can be used to run arbitrary commands when any of a package's files change on disk. See watch README.md for examples.

Note the watch idea came from Lerna v6.4.0 but the implementation in Lerna vs Lerna-Lite is entirely different since Lerna is promoting the use of Nx (no surprises here) to watch file changes, while in Lerna-Lite we opted for the use of chokidar to watch for files. Chokidar is used by millions of packages (TypeScript, SASS, ... even VSCode uses it), so chances are that you already have it installed directly or indirectly. Most of Chokidar options are also available with lerna watch command.

Motivation and Context
This solves a common problem for package-based monorepos, which is to trigger rebuilds of packages when their files change (ie TypeScript or SASS files).
How Has This Been Tested?
Tested locally within Lerna-Lite workspace by testing multiple options
TODO

[ ] unit tests are required to complete this PR
[ ] also need to update README with all watch command and Chokidar options

Types of changes

[ ] Chore (change that has absolutely no effect on users)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #441 (d7d7212) into main (51eec47) will decrease coverage by 1.55%.
The diff coverage is 30.10%.

@@            Coverage Diff             @@
##             main     #441      +/-   ##
==========================================
- Coverage   97.34%   95.79%   -1.54%
==========================================
  Files         147      152       +5
  Lines        4383     4486     +103
  Branches     1020     1043      +23
==========================================
+ Hits         4266     4297      +31
- Misses        117      189      +72

Impacted Files
Coverage Δ

packages/core/src/command.ts
100.00% <ø> (ø)

...ackages/cli/src/cli-commands/cli-watch-commands.ts
14.29% <14.29%> (ø)

packages/watch/src/watch-command.ts
23.08% <23.08%> (ø)

packages/cli/src/lerna-entry.ts
100.00% <100.00%> (ø)

packages/core/src/utils/index.ts
100.00% <100.00%> (ø)

packages/core/src/utils/string-utils.ts
100.00% <100.00%> (ø)

packages/watch/src/constants.ts
100.00% <100.00%> (ø)

packages/watch/src/index.ts
100.00% <100.00%> (ø)

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


sharedApplication is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

i have issue in your project
/Users/mac/Downloads/BitStore-iOS-master/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.m:96:21: 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
Please guide me . thanks

Maybe this helps you further: https://github.com/AFNetworking/AFNetworking/issues/2119
Might be worthwhile using a newer AFNetworking version.


update versions

Update dependencies and format code with npm run format

Coverage remained the same at 82.938% when pulling 646c44fbb2dfe55e94356d02ccc26c8a58c784bd on d0whc3r:feature/update_versions into edbdd2577ed8150f38eb8290fd23bd7f2fb1e283 on thiagobustamante:master.


How to integrate yajra datatables in livewire?

Hi everyone I am new in laravel, I'm still learning laravel and i want to learn laravel-livewire and integrate yajra datatables is their any sample project or documents  you can refer for me in integrating yajra

If you want datatables on livewire, maybe is better to go with https://livewire-datatables.com/


Add TypeScript types for Cursor option

Returns a Cursor type when specifying the cursor query option

It would be awesome if we can add these return types to the execute method on Statement too (the params in this type are out of date due to #236)


Create new Segmented UBI functionality for whitelisted wallets

Business Description
In addition to 1. Direct Payments triggered by NFT and 2. Segmented UBI based on demographic info, we want to add a third contract type that allows a group administrator to add and manage a list of wallet addresses to a pool.
Questions & To-Dos

[ ] Should we create a simple interface for this in the dapp? Is the explorer easy enough to navigate by someone like Chris for them to use this?
[ ] Create GoodCollective pool UI to display this type of pool. Should show wallet address of person who has admin access. Should also show a state for the Admin in which there is an "edit" button to adjust the wallet list.

Detailed Description of Functionality
Technical Implementation
*Outline the technical approach for building the feature. This section is typically filled out by the development team or can contain suggestions.
(dev team: @johnsmith-gooddollar @sirpy @L03TJ3)

[ ] (What api's / sdk's could possibly be used)

Design Reference
Link to Figma reference screens & screenshots of key screens
Acceptance Criteria
Specify criteria that will be used to determine if the feature meets the requirements and functions correctly.

[ ] (Should include a list of testing points for QA how to verify design/functionality)
filled out by the development team or can contain suggestions._

Dupe to #231


Image Optimization

https://github.com/JamieMason/ImageOptim-CLI
https://github.com/1000ch/node-pngcrush-bin
https://github.com/imagemin/jpegtran-bin

These should be bundled into an extension

+1

+1 from me too. was just talking to @jenius about this again yesterday


Support AWS CloudWatch

Support for lambda, sqs, sns, cloudwatchlogs

I will take a look at this plugin integration.

@simar7 I would like to work in this integration

go for it!


2 nitpick

1: The table could be better organized to show supported from version X onwards, instead of showing them with both Yes and No. I find it a bit difficult to scan. (For special cases where a browser supports a certain feature but later dropped it, or has partial/broken support for a feature, use footnote instead?)
For example http://stateofwebtype.com/#font-stretch, tidy up to have 1 row per browser and some coloring might be easier to read.
2: I am no type or css expert, maybe in addition to spec, a link to MDN wiki (or anything with proper examples) can help to explain what these features do.

I came here to request for № 2 above as well. A link to a spec or MDN link would be great for a non-expert like me.


Set default shadow mode for nodes and geometries to CastAndReceive

For some unknown (probably legacy) reason, when you create a new node, or new anything in SceneComposer, it's shadow mode is set to off by default. In 2018 gpus really shouldn't have problems with shadows and therefore the default mode should be CastAndReceive. Usually you have waay more models that should have shadows than ones that don't.
If there actually is a reason to keep default to Off, there should at least be a setting for a manual override.

A quick investigation showed:
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/scene/Spatial.java#L1287
This means: When all Spatials are set to inherit (which they are by default), then they all will be "Off" because the rootNode has no parent. It is up to the engine guys to discuss if this behavior is desired or not.
What is a fault of the SDK is to not call getLocalShadowMode instead, though I must say this feels misleading (because in most times you care about the "local" shadowMode, the "world" shadowMode is more for the renderer). After that fix they are set to Inherit.
What has to be done afterwards is making the rootNode CastAndReceive or leaving it like that (in which case the user would have to enable it on a per-scene base. Otherwise the results would be different than to the engine because a regular rootNode also comes with ShadowMode.Inherit

What we can make though, is edit the root node in the file that is copied when you go "New > j3o Scene" to have CastAndRecieve. Since shadow modes usually become relevant in bigger scenes which at least I personally make with "New > j3o Scene".

Sounds like a good compromise, then it'll magically work in the engine as well :D The question is if we should edit the template file or just apply this "fix" in code. if you're bored, https://github.com/jMonkeyEngine/sdk/blob/master/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/Scene.j3o


Added deployment tests

Adds tests for worker.js.
Adds tests/e2e.js, which deploys all steps of the app in parallel and pings them all to make sure they're up.

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will increase coverage by +24.01%

@@           master       #50   diff @@
=======================================
  Files          57        59      +2
  Lines        2387      5178   +2791
  Methods         0       603    +603
  Branches      405       438     +33
=======================================
+ Hits         1814      5178   +3364
+ Misses        567         0    -567
+ Partials        6         0      -6

3 files (not in diff) in 7-gce/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 7-gce/books were modified. more

Misses -84
Partials -1
Hits +372

2 files (not in diff) in 7-gce were modified. more

Misses -8
Hits +86

3 files (not in diff) in 6-pubsub/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 6-pubsub/books were modified. more

Misses -84
Partials -1
Hits +372

2 files (not in diff) in 6-pubsub were modified. more

Misses -7
Hits +84

3 files (not in diff) in 5-logging/lib were modified. more

Misses -14
Hits +111

5 files (not in diff) in 5-logging/books were modified. more

Misses -83
Partials -1
Hits +365

2 files (not in diff) in 5-logging were modified. more

Misses -7
Hits +84

2 files (not in diff) in 4-auth/lib were modified. more

Misses -14
Hits +85

[][cc-pull]

Powered by Codecov. Last updated by 7c3d070
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/pull/50?src=pr

LGTM.

Code coverage isn't 100%, codecov is experiencing issues.

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will increase coverage by +24.01%

@@           master       #50   diff @@
=======================================
  Files          57        59      +2
  Lines        2387      5174   +2787
  Methods         0       603    +603
  Branches      405       438     +33
=======================================
+ Hits         1814      5174   +3360
+ Misses        567         0    -567
+ Partials        6         0      -6

3 files (not in diff) in 7-gce/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 7-gce/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 6-pubsub/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 6-pubsub/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 5-logging/lib were modified. more

Misses -14
Hits +111

5 files (not in diff) in 5-logging/books were modified. more

Misses -83
Partials -1
Hits +365

2 files (not in diff) in 4-auth/lib were modified. more

Misses -14
Hits +85

5 files (not in diff) in 4-auth/books were modified. more

Misses -84
Partials -1
Hits +366

5 files (not in diff) in 3-binary-data/books were modified. more

Misses -51
Partials -1
Hits +293

2 files (not in diff) in 3-binary-data were modified. more

Misses -14
Hits +81

[][cc-pull]

Powered by Codecov. Last updated by 4c51466
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/pull/50?src=pr

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will increase coverage by +24.01%

@@           master       #50   diff @@
=======================================
  Files          57        59      +2
  Lines        2387      5174   +2787
  Methods         0       603    +603
  Branches      405       438     +33
=======================================
+ Hits         1814      5174   +3360
+ Misses        567         0    -567
+ Partials        6         0      -6

3 files in 7-gce were modified. more

Misses -4
Hits +84

3 files in 6-pubsub were modified. more

Misses -3
Hits +82

2 files in 5-logging were modified. more

Misses -3
Hits +70

2 files in 4-auth were modified. more

Misses -3
Hits +70

3 files (not in diff) in 7-gce/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 7-gce/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 6-pubsub/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 6-pubsub/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 5-logging/lib were modified. more

Misses -14
Hits +111

5 files (not in diff) in 5-logging/books were modified. more

Misses -83
Partials -1
Hits +365

[][cc-pull]

Powered by Codecov. Last updated by 4c51466
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/pull/50?src=pr

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will increase coverage by +24.01%

@@           master       #50   diff @@
=======================================
  Files          57        59      +2
  Lines        2387      5174   +2787
  Methods         0       603    +603
  Branches      405       438     +33
=======================================
+ Hits         1814      5174   +3360
+ Misses        567         0    -567
+ Partials        6         0      -6

3 files (not in diff) in 7-gce/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 7-gce/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 6-pubsub/lib were modified. more

Misses -23
Hits +132

5 files (not in diff) in 6-pubsub/books were modified. more

Misses -84
Partials -1
Hits +372

3 files (not in diff) in 5-logging/lib were modified. more

Misses -14
Hits +111

5 files (not in diff) in 5-logging/books were modified. more

Misses -83
Partials -1
Hits +365

2 files (not in diff) in 4-auth/lib were modified. more

Misses -14
Hits +85

5 files (not in diff) in 4-auth/books were modified. more

Misses -84
Partials -1
Hits +366

5 files (not in diff) in 3-binary-data/books were modified. more

Misses -51
Partials -1
Hits +293

2 files (not in diff) in 3-binary-data were modified. more

Misses -14
Hits +81

[][cc-pull]

Powered by Codecov. Last updated by 4c51466
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/pull/50?src=pr

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will increase coverage by +24.01%

@@           master       #50   diff @@
=======================================
  Files          57        53      -4
  Lines        2387      4572   +2185
  Methods         0       529    +529
  Branches      405       380     -25
=======================================
+ Hits         1814      4572   +2758
+ Misses        567         0    -567
+ Partials        6         0      -6

3 files in 7-gce were modified. more

Misses -4
Hits +84

3 files in 6-pubsub were modified. more

Misses -3
Hits +82

2 files in 5-logging were modified. more

Misses -3
Hits +70

2 files in 4-auth were modified. more

Misses -3
Hits +70

3 files (not in diff) in 7-gce/lib were modified. more

Misses -23
Hits +132

4 files (not in diff) in 7-gce/books were modified. more

Misses -74
Partials -1
Hits +308

3 files (not in diff) in 6-pubsub/lib were modified. more

Misses -23
Hits +132

4 files (not in diff) in 6-pubsub/books were modified. more

Misses -74
Partials -1
Hits +308

3 files (not in diff) in 5-logging/lib were modified. more

Misses -14
Hits +111

4 files (not in diff) in 5-logging/books were modified. more

Misses -74
Partials -1
Hits +304

[][cc-pull]

Powered by Codecov. Last updated by 2d6f987
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/nodejs-getting-started/pull/50?src=pr


Support deptrac

It would be nice if deptrac was also support among the tools. It is useful to allow validating against architecturally disallowed dependencies.

What configuration do you need?
$ vendor/bin/deptrac analyze --help

Arguments:
  depfile                                          Path to the depfile

Options:
      --formatter=FORMATTER                        Format in which to print the result of the analysis. Possible: ["console", "github-actions", "graphviz", "junit", "table", "xml", "baseline"] (multiple values allowed)
      --no-progress                                Do not show progress bar
      --fail-on-uncovered                          Fails if any uncovered dependency is found
      --report-uncovered                           Report uncovered dependencies
      --report-skipped                             Report skipped violations
      --graphviz-display[=GRAPHVIZ-DISPLAY]        Should try to open graphviz image. [default: true]
      --graphviz-dump-image[=GRAPHVIZ-DUMP-IMAGE]  Path to a dumped png file.
      --graphviz-dump-dot[=GRAPHVIZ-DUMP-DOT]      Path to a dumped dot file.
      --graphviz-dump-html[=GRAPHVIZ-DUMP-HTML]    Path to a dumped html file.
      --junit-dump-xml[=JUNIT-DUMP-XML]            Path to a dumped xml file. [default: "./junit-report.xml"]
      --xml-dump[=XML-DUMP]                        path to a dumped xml file [default: "./deptrac-report.xml"]
      --baseline-dump[=BASELINE-DUMP]              path to a dumped baseline file [default: "./depfile.baseline.yml"]
      --no-cache                                   Disable caching mechanisms
      --cache-file=CACHE-FILE                       [default: ".deptrac.cache"]

You can try initial version with console formatter:
$ composer update edgedesign/phpqa:dev-deptrac
$ phpqa --tools deptrac -v

Well at first its enough if it is able to load the depfile.yaml from root of project

Yes, root file is used if deptrac.depfile is not configured:
$ phpqa --tools deptrac:0 -v
 [Edge\QA\Task\ParallelExec] Output for  "/phpqa/vendor/bin/deptrac" analyze  --formatter=console --report-uncovered
  In CouldNotReadFileException.php line 10:
  File "/phpqa/depfile.yaml" cannot be read.

[phpqa]
+---------+----------------+--------------+--------+-------------------+
| Tool    | Allowed Errors | Errors count | Is OK? | HTML report       |
+---------+----------------+--------------+--------+-------------------+
| deptrac | 0              | 1            | x      |                   |
+---------+----------------+--------------+--------+-------------------+

[phpqa] Failed tools: deptrac

Ok. Will test next week.

Tested it's working. Notify when released. As a suggestion I would keep issues open until they are added in an actual release.

Released in v1.25 (demo)


Fix the description of the _MBC_ILLEGAL return value, especially so in the case type == _MBC_LEAD.

Add english descriptions of the conditions that results in illegality, and spell out the value ranges in positive fashion rather than negative fashion based on the values shown in the other rows.
Note that the table does not demonstrate locale-sensitivity or codepage-sensitivity; are the given example values the ones used for codepage 932 (japanese kanji)?  Does locale really effect _mbbtype?

@TylerMSFT
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off
I'll add addressing your question to my backlog. It'll be a while before I can get to it.