Cert "Issued by: Fake LE Intermediate X1" - even with prod LE url

I am successfully retrieving a certificate but challenges don't seem to be working -  cert error "There are issues with the site's certificate chain (net::ERR_CERT_AUTHORITY_INVALID)." and "Issued by: Fake LE Intermediate X1".
I am getting this error with both staging and the LE production url.
I'm hoping there is a simple "miss" here on my part.  Thanks in advance for any help provided.

node 4.6.0, express 4.13.1
aws ec2 Linux instance with assigned static public ip
confirmed http & https ports fully open
running node as root (yeah, I know)
webrootPath /tmp/acme-challenges exists
drwxr-xr-x  2 root     root     4096 Oct 13 17:52 acme-challenges but I am not seeing anything in the dir at any time - before or after visiting the site after starting the web server.
I am getting a warning message le.challenges[http-01].loopback should be defined as function.. - see full log below.

My code (domain replaced with '--------'):

var lex = require('letsencrypt-express').create({
   // set to https://acme-v01.api.letsencrypt.org/directory in production
   // server: 'staging',
   server: 'https://acme-v01.api.letsencrypt.org/directory',

     // If you wish to replace the default plugins, you may do so here
     //
   challenges: { 'http-01': require('le-challenge-fs').create({ webrootPath: '/tmp/acme-challenges' }) },
   store: require('le-store-certbot').create({ webrootPath: '/tmp/acme-challenges' }),

     // You probably wouldn't need to replace the default sni handler
     // See https://github.com/Daplie/le-sni-auto if you think you do
     //, sni: require('le-sni-auto').create({})

   approveDomains: approveDomains
});

function approveDomains(opts, certs, cb) {
  // TODO: confirm domain

  if (certs) {
     opts.domains = certs.altnames;
   }
  else {
     opts.email =<EMAIL_ADDRESS>     opts.agreeTos = true;
  }

  cb(null, { options: opts, certs: certs });
}

lex.check({domains:['test.--------.com']}).then(function(results) {
    console.log('results: ');
    console.log(results);
});

server = require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, function () {
    console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
});

And the log (cert strings removed) ...
le.challenges[http-01].loopback should be defined as function (opts, domain, token, keyAuthorization, cb) { ... } and should prove (by external means) that the ACME server challenge 'http-01' will succeed
le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, keyAuthorization, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed
Listening for ACME http-01 challenges on { address: '::', family: 'IPv6', port: 80 }
Listening for ACME tls-sni-01 challenges and serve app on { address: '::', family: 'IPv6', port: 443 }
results:
{ privkey: '-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----\n',
  cert: '-----BEGIN CERTIFICATE-----\r\n...\r\n-----END CERTIFICATE-----\r\n',
  chain: '-----BEGIN CERTIFICATE-----\r\n...\r\n-----END CERTIFICATE-----\r\n',
  subject: 'test.--------.com',
  altnames: [ 'test.--------.com' ],
  _issuedAt: Thu Oct 13 2016 16:52:00 GMT+0000 (UTC),
  _expiresAt: Wed Jan 11 2017 16:52:00 GMT+0000 (UTC),
  issuedAt:<PHONE_NUMBER>000,
  expiresAt:<PHONE_NUMBER>000 }

The cert when I visit the test.--------.com site via Chrome:

fake certs: the simple solution is probably rm -rf ~/letsencrypt and try again with the production url.
run node on privileged ports w/o root: sudo setcap 'cap_net_bind_service=+ep' $(which node)
loopback warning: with the new version of le-challenge-fs and letsencrypt (which is not yet published) this has been implemented.

Outstanding!  That did it.  Thank you very much.
These are the changes that I made:

sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/node
Change challenges webrootPath from /tmp/acme-challenges to ~/letsencrypt/var/acme-challenges
Set all paths in leStore using ~/letsencrypt : see code below
Run node as non-root user (was running as root knowing that I needed to change but this was a good motivator)

Adjusted code:

var leStore = require('le-store-certbot').create({
  configDir: '~/letsencrypt/etc',          // or /etc/letsencrypt or wherever
  privkeyPath: ':configDir/live/:hostname/privkey.pem',          //
  fullchainPath: ':configDir/live/:hostname/fullchain.pem',      // Note: both that :configDir and :hostname
  certPath: ':configDir/live/:hostname/cert.pem',                //       will be templated as expected by
  chainPath: ':configDir/live/:hostname/chain.pem',              //       node-letsencrypt
  workDir: '~/letsencrypt/var/lib',
  logsDir: '~/letsencrypt/var/log',
  webrootPath: '~/letsencrypt/srv/www/:hostname/.well-known/acme-challenge',
  debug: false
});

// returns an instance of node-letsencrypt with additional helper methods
var lex = require('letsencrypt-express').create({
  // set to https://acme-v01.api.letsencrypt.org/directory in production
  //server: 'staging',
  server: 'https://acme-v01.api.letsencrypt.org/directory',

  // If you wish to replace the default plugins, you may do so here
  //
  challenges: { 'http-01': require('le-challenge-fs').create({ webrootPath: '~/letsencrypt/var/acme-challenges' }) },
  store: leStore,

  // You probably wouldn't need to replace the default sni handler
  // See https://github.com/Daplie/le-sni-auto if you think you do
  //, sni: require('le-sni-auto').create({})

  approveDomains: approveDomains
});

function approveDomains(opts, certs, cb) {
  // TODO - verify domain

  if (certs) {
     opts.domains = certs.altnames;
   }
  else {
     opts.email =<EMAIL_ADDRESS>     opts.agreeTos = true;
  }

  cb(null, { options: opts, certs: certs });
}

// handles acme-challenge and redirects to https
require('http').createServer(lex.middleware(require('redirect-https')())).listen(80, function () {
  console.log("Listening for ACME http-01 challenges on", this.address());
});

server = require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, function () {
  console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
});


fix(docs): fixed styles on the editor menus

Fixed regressions on the menus used in the editor, after merging the color updates.
Prev:

Now:

This regression came from #1069, so we don't need to add anything to changelog. Thanks for fixing 👍

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Can't build armv6l-unknown-linux-gnueabihf-ghc (or -perl) on macOS with release-19.03

Describe the bug
Can't build arm cross compilers.
To Reproduce
../nixpkgs set to release-19.03
nix build '(with (import ../nixpkgs { crossSystem = { config = "armv6l-unknown-linux-gnueabihf"; }; }); haskell.compiler.ghc865)' --show-trace  ~/Projects/iohk/haskell.nix
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: while evaluating the attribute 'buildInputs' of the derivation 'ghc-8.6.5-armv6l-unknown-linux-gnueabihf' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating the attribute 'configureFlags' of the derivation 'perl-5.28.1-armv6l-unknown-linux-gnueabihf' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating 'getOutput' at /Users/angerman/Projects/iohk/nixpkgs/lib/attrsets.nix:464:23, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/development/interpreters/perl/default.nix:22:13:
while evaluating the attribute 'cc.libc' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/default.nix:148:14:
while evaluating the attribute 'gcc' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6857:3:
while evaluating 'addMetaAttrs' at /Users/angerman/Projects/iohk/nixpkgs/lib/meta.nix:15:28, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6999:10:
while evaluating 'wrapCC' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7776:12, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6999:19:
while evaluating 'wrapCCWith' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7755:5, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7776:16:
while evaluating 'callPackageWith' at /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:108:35, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7764:7:
while evaluating 'makeOverridable' at /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:67:24, called from /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:112:8:
while evaluating anonymous function at /Users/angerman/Projects/iohk/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1, called from /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:69:12:
while evaluating the attribute 'postInstall' of the derivation 'glibc-2.27-armv6l-unknown-linux-gnueabihf' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating the attribute 'buildInputs' of the derivation 'glibc-2.27' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/development/libraries/glibc/common.nix:154:3:
while evaluating the attribute 'ARCH' of the derivation 'linux-headers-4.19.16' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/os-specific/linux/kernel-headers/default.nix:8:5:
while evaluating the attribute 'hostPlatform.platform.kernelArch' at /Users/angerman/Projects/iohk/nixpkgs/lib/systems/default.nix:26:7:
missing kernelArch

or
nix build '(with (import ../nixpkgs { crossSystem = { config = "armv6l-unknown-linux-gnueabihf"; }; }); perl)' --show-trace                     ~/Projects/iohk/haskell.nix
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: while evaluating the attribute 'configureFlags' of the derivation 'perl-5.28.1-armv6l-unknown-linux-gnueabihf' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating 'getOutput' at /Users/angerman/Projects/iohk/nixpkgs/lib/attrsets.nix:464:23, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/development/interpreters/perl/default.nix:22:13:
while evaluating the attribute 'cc.libc' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/default.nix:148:14:
while evaluating the attribute 'gcc' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6857:3:
while evaluating 'addMetaAttrs' at /Users/angerman/Projects/iohk/nixpkgs/lib/meta.nix:15:28, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6999:10:
while evaluating 'wrapCC' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7776:12, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:6999:19:
while evaluating 'wrapCCWith' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7755:5, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7776:16:
while evaluating 'callPackageWith' at /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:108:35, called from /Users/angerman/Projects/iohk/nixpkgs/pkgs/top-level/all-packages.nix:7764:7:
while evaluating 'makeOverridable' at /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:67:24, called from /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:112:8:
while evaluating anonymous function at /Users/angerman/Projects/iohk/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1, called from /Users/angerman/Projects/iohk/nixpkgs/lib/customisation.nix:69:12:
while evaluating the attribute 'postInstall' of the derivation 'glibc-2.27-armv6l-unknown-linux-gnueabihf' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:196:11:
while evaluating the attribute 'buildInputs' of the derivation 'glibc-2.27' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/development/libraries/glibc/common.nix:154:3:
while evaluating the attribute 'ARCH' of the derivation 'linux-headers-4.19.16' at /Users/angerman/Projects/iohk/nixpkgs/pkgs/os-specific/linux/kernel-headers/default.nix:8:5:
while evaluating the attribute 'hostPlatform.platform.kernelArch' at /Users/angerman/Projects/iohk/nixpkgs/lib/systems/default.nix:26:7:
missing kernelArch

Expected behavior
build perl or ghc as crosscompilers
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
 - system: `"x86_64-darwin"`
 - host os: `Darwin 18.7.0, macOS 10.14.6`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.2.2`
 - channels(angerman): `"darwin, nixpkgs-19.09pre186574.88d9f776091"`
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - nixpkgs: `/Users/angerman/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Git bisect yields: ff1b945851f778cb0c8f42faf5d5f4d931912e13

master is fixed because it contains 00a41ebbc15b2345819612b8f917e1d69d853f5a
I hereby suggest we merge 00a41ebbc15b2345819612b8f917e1d69d853f5a into release-19.03 as well!

Cherry picked in 3924b344254350e4bee875a3353c1093e325743f


Default property assignment using passed in variable fails

Describe the bug:
Default property assignment using passed in variable fails. The property must be assigned using a property name and a value.
Config and Small code sample
Config:
const partners = {joe:{id:1}};
Code:
const contacts = Object.keys(partners).reduce((contacts,name) => {
            const {id} = partners[name];
            // do NOT use contacts.push({id,name});
            // the code breaks with the obfuscator
            contacts.push({id,name:name});
            return contacts;
        },[]);

Expected behavior
[{id:1,name:"joe"}]
Actual behavior
[{id:1}]
Additional context
None

Hi, can you share the options and version you're using? I am unable to reproduce on 1.7.3 or 2.0.0-alpha.3

1.7.3, similar thing happening in multiple places in my code
JSConfuser.obfuscate(code, {
target: 'browser',
calculator: false,
compact: true,
hexadecimalNumbers: true,
controlFlowFlattening: 0.05,
deadCode: 0.01,
dispatcher: 0.1,
duplicateLiteralsRemoval: true,
identifierGenerator: "randomized",
minify: true,
movedDeclarations: true,
objectExtraction: true,
opaquePredicates: 0.1,
renameVariables: true,
renameGlobals: false,
stringConcealing: true,
globalConcealing: false,
/lock: {
integrity: true,
selfDefending: true,
tamperProtection: true,
//antiDebug: true,
//countermeasures: true
}/
});
On Mon, Nov 18, 2024 at 10:37 AM Michael Brasington <
@.***> wrote:

Hi, can you share the options and version you're using? I am unable to
reproduce on 1.7.3 https://www.npmjs.com/package/js-confuser/v/1.7.3 or
2.0.0-alpha.3 https://www.npmjs.com/package/js-confuser/v/2.0.0-alpha.3
—
Reply to this email directly, view it on GitHub
https://github.com/MichaelXF/js-confuser/issues/154#issuecomment-2483828470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABF2USYPAR2K5YG7MKOU7A32BIXWTAVCNFSM6AAAAABR7HRKFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHAZDQNBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Michael, I found another issue. It seems that the table mapping for
obfuscated strings or variables may not be working quite properly. Note the
commented out test below.
Since I can't give you a simple example, I do not have any major
expectations about a fix or anything. I do know the code works when not
obfuscated. Just be on the look-out for other issues that seem to
indicate there might be a string or variable table issue.
Close the issue as non-reproducible if you wish.
const user = session.user,
partners = user.partners,
users = session.users,
invitations = user.invitations||{},
dimensions = user.dimensions||[],
ids = new Set(),
contacts = Object.keys(partners).reduce((contacts,name) => {
const {id,email,color,notify,hide,error,status,shareEmotions}
= partners[name];
ids.add(id);
contacts.push({id,name:name,email,color,notify,hide,error,status,shareEmotions});
return contacts;
},[]);
Object.keys(invitations).forEach(id => {
// if(!ids.has(id)) { // does not work with obfuscation
if(!contacts.some(contact => contact.id===id)) {
const {inviterEmail,message,status,shareEmotions} = invitations[id];
contacts.push({id,shareEmotions,email:inviterEmail,name:inviterEmail,message,hide:true,color:"#000000",notify:{},status});
}
})
On Mon, Nov 18, 2024 at 2:50 PM Simon Blackwell @.***>
wrote:

1.7.3, similar thing happening in multiple places in my code
JSConfuser.obfuscate(code, {
target: 'browser',
calculator: false,
compact: true,
hexadecimalNumbers: true,
controlFlowFlattening: 0.05,
deadCode: 0.01,
dispatcher: 0.1,
duplicateLiteralsRemoval: true,
identifierGenerator: "randomized",
minify: true,
movedDeclarations: true,
objectExtraction: true,
opaquePredicates: 0.1,
renameVariables: true,
renameGlobals: false,
stringConcealing: true,
globalConcealing: false,
/lock: {
integrity: true,
selfDefending: true,
tamperProtection: true,
//antiDebug: true,
//countermeasures: true
}/
});
On Mon, Nov 18, 2024 at 10:37 AM Michael Brasington <
@.***> wrote:

Hi, can you share the options and version you're using? I am unable to
reproduce on 1.7.3 https://www.npmjs.com/package/js-confuser/v/1.7.3
or 2.0.0-alpha.3
https://www.npmjs.com/package/js-confuser/v/2.0.0-alpha.3
—
Reply to this email directly, view it on GitHub
https://github.com/MichaelXF/js-confuser/issues/154#issuecomment-2483828470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABF2USYPAR2K5YG7MKOU7A32BIXWTAVCNFSM6AAAAABR7HRKFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHAZDQNBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

All problems disappeared with this setting: renameVariables: false,
On Mon, Nov 18, 2024 at 4:11 PM Simon Blackwell @.***>
wrote:

Hi Michael, I found another issue. It seems that the table mapping for
obfuscated strings or variables may not be working quite properly. Note the
commented out test below.
Since I can't give you a simple example, I do not have any major
expectations about a fix or anything. I do know the code works when not
obfuscated. Just be on the look-out for other issues that seem to
indicate there might be a string or variable table issue.
Close the issue as non-reproducible if you wish.
const user = session.user,
partners = user.partners,
users = session.users,
invitations = user.invitations||{},
dimensions = user.dimensions||[],
ids = new Set(),
contacts = Object.keys(partners).reduce((contacts,name) => {
const {id,email,color,notify,hide,error,status,shareEmotions} = partners[name];
ids.add(id);
contacts.push({id,name:name,email,color,notify,hide,error,status,shareEmotions});
return contacts;
},[]);
Object.keys(invitations).forEach(id => {
// if(!ids.has(id)) { // does not work with obfuscation
if(!contacts.some(contact => contact.id===id)) {
const {inviterEmail,message,status,shareEmotions} = invitations[id];
contacts.push({id,shareEmotions,email:inviterEmail,name:inviterEmail,message,hide:true,color:"#000000",notify:{},status});
}
})
On Mon, Nov 18, 2024 at 2:50 PM Simon Blackwell <
@.***> wrote:

1.7.3, similar thing happening in multiple places in my code
JSConfuser.obfuscate(code, {
target: 'browser',
calculator: false,
compact: true,
hexadecimalNumbers: true,
controlFlowFlattening: 0.05,
deadCode: 0.01,
dispatcher: 0.1,
duplicateLiteralsRemoval: true,
identifierGenerator: "randomized",
minify: true,
movedDeclarations: true,
objectExtraction: true,
opaquePredicates: 0.1,
renameVariables: true,
renameGlobals: false,
stringConcealing: true,
globalConcealing: false,
/lock: {
integrity: true,
selfDefending: true,
tamperProtection: true,
//antiDebug: true,
//countermeasures: true
}/
});
On Mon, Nov 18, 2024 at 10:37 AM Michael Brasington <
@.***> wrote:

Hi, can you share the options and version you're using? I am unable to
reproduce on 1.7.3 https://www.npmjs.com/package/js-confuser/v/1.7.3
or 2.0.0-alpha.3
https://www.npmjs.com/package/js-confuser/v/2.0.0-alpha.3
—
Reply to this email directly, view it on GitHub
https://github.com/MichaelXF/js-confuser/issues/154#issuecomment-2483828470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABF2USYPAR2K5YG7MKOU7A32BIXWTAVCNFSM6AAAAABR7HRKFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHAZDQNBXGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Maven cannot resolve dependency "org.bytedeco:hdf5:1.12.0-1.5.3" for "DL4J-Core 1.0.0-beta7"

Issue Description
GIVEN using Maven to install DL4J-Core dependency in the Spring Boot application
WHEN synchronizing Maven dependencies
THEN we have the issue that "Cannot resolve org.bytedeco:hdf5:1.12.0-1.5.3"
Expected behaviour: DL4J-Core shall be installed successfully
Version Information

Java version: 1.8
Deeplearning4j version: deeplearning4j-core 1.0.0-beta7
Maven version: 3.6.3

Investigation
(1) In pom.xml we defined DL4J-Core 1.0.0-beta7:
<dependency>
    <groupId>org.deeplearning4j</groupId>
    <artifactId>deeplearning4j-core</artifactId>
    <version>1.0.0-beta7</version>
</dependency>

(2) When synchronizing Maven dependencies, we found out Maven could not resolve dependency deeplearning4j-modelimport 1.0.0-beta7

(3) Then inside deeplearning4j-modelimport 1.0.0-beta7, Maven could not resolve dependency org.bytedeco:hdf5:1.12.0-1.5.3

(4) The issue seems to be caused by hdf5-platform 1.12.0-1.5.3 dependency, which cannot resolve dependency linux-ppc64le:1.12.0-1.5.3
(5) However, if we import the latest version of hdf5-platform 1.12.0-1.5.4 before importing DL4J-Core, then the issue is gone, because Maven will recognize the duplicate dependency and hdf5-platform 1.12.0-1.5.4 will replace the buggy one. Therefore, we could tell after upgrading hdf5-platform to the latest version 1.12.0-1.5.4 in deeplearning4j-modelimport 1.0.0-beta7, then we could resolve the dependency successfully
<dependency>
    <groupId>org.bytedeco</groupId>
    <artifactId>hdf5-platform</artifactId>
    <version>1.12.0-1.5.4</version> // ------------> This latest version will replace the buggy one
</dependency>
<dependency>
    <groupId>org.deeplearning4j</groupId>
    <artifactId>deeplearning4j-core</artifactId>
    <version>1.0.0-beta7</version>
</dependency>

Contribution
I would like to help to further investigate and upgrade the hdf5-platform version if necessary

@mikemikezhu don't worry about this, this is missing a platform specific classifier that you probably aren't using (IBM power pc)  - I'm closing this.

@mikemikezhu don't worry about this, this is missing a platform specific classifier that you probably aren't using (IBM power pc)  - I'm closing this.


Remove SimilarityFunction.UNDEFINED and SourceModel.UNDEFINED  and inconsistentcy in SimilarityFunction

These are not values understood by the database, and are confusing to have them in the API.
'SimilarityFunction' is a required value for a vector index, it is illogical for it to be undefined. For a collection without a vector the value should be null.
It creates a situation where the user of the enum need to understand special things, such as this code in the old QueryBuilder for collections....
  public QueryBuilder similarityFunction(String columnName, SimilarityFunction similarityFunction) {
    switch (similarityFunction) {
      case COSINE, UNDEFINED ->
          functionCalls.add(FunctionCall.similarityFunctionCall(columnName, "SIMILARITY_COSINE"));
      case EUCLIDEAN ->

This code should throw an error,  we should not be in a situation where we are trying to projection the similarity for a vector when there is no vector index.
The same problem exists for the source model, see https://github.com/stargate/data-api/blob/main/src/main/java/io/stargate/sgv2/jsonapi/service/schema/SourceModel.java
SourceModel is an optional value, it does not have a default and if it is not known then we should have null
the comment:

If the provided name is {@code null}, returns {@link SourceModel#UNDEFINED}, used for non-vector collections.

Then we need code to make sure the UNDEFINED is not used for vector collections and in tables, and then we need code to know that UNDEFINED source model is not a real source model.
There is also inconsistent and confusing code paths in the SimilarityFunction...
this function uses a map to lookup the enum value and then turns that into the function name...
  public static SimilarityFunction getSimilarityFunction(String sourceModelName) {
    return SOURCE_MODEL_NAME_MAP.get(sourceModelName) == null
        ? null
        : getSimilarityFunction(SOURCE_MODEL_NAME_MAP.get(sourceModelName));
  }

but this function does not use the map in all cases....
  public static SourceModel fromString(String name) throws JsonApiException {
    if (name == null) return UNDEFINED;
    // The string may be empty if the collection was created before supporting source models
    if (name.isEmpty()) return OTHER;
    SourceModel model = SOURCE_MODEL_NAME_MAP.get(name);
    if (model == null) {
      String acceptedModels =
          SOURCE_MODEL_NAME_MAP.keySet().stream()
              .filter(key -> !key.equals(UNDEFINED.getName()))
              .collect(Collectors.joining(", "));
      throw ErrorCodeV1.VECTOR_SEARCH_UNRECOGNIZED_SOURCE_MODEL_NAME.toApiException(
          "Received: '%s'; Accepted: %s", name, acceptedModels);
    }
    return model;
  }

there should be a consistent way to get the enum value for a given enum name.
it would make a lot more sense for the similarityFunction to be a property of the enum, than be in a static map. Then provide one consistent way to get the source model from its name and get the similarity function from that.
There is also inconsistency in this function, which includes all the model names:
  public static String getAllSourceModelNames() {
    return SOURCE_MODEL_NAME_MAP.keySet().stream().sorted().collect(Collectors.joining(", "));
  }

and the way this error has to avoid the UNDEFINED name because it is not a real model:
    if (model == null) {
      String acceptedModels =
          SOURCE_MODEL_NAME_MAP.keySet().stream()
              .filter(key -> !key.equals(UNDEFINED.getName()))
              .collect(Collectors.joining(", "));
      throw ErrorCodeV1.VECTOR_SEARCH_UNRECOGNIZED_SOURCE_MODEL_NAME.toApiException(
          "Received: '%s'; Accepted: %s", name, acceptedModels);
    }

It would be much easier to not have undefined , pls remove it

I am refactoring the EmbeddingSource model for the Table indexes work, but wont be removing the UNDEFINED as the implications are unclear. Hold of making changes for this until that work is comitted


select month bug

		if (year == endYear) {
		    //fix
			endMonth += 2;
			months.slice(endMonth).addClass('disabled');
		}

Works! Thank you!

it is working while the sum of endmonth <=12. Consider if it was endmonth is December then after sum with 2 then it will be 14. so what i say here.
if (year == endYear) {
endMonth += 2;
if(endMonth>12){
endMonth=endMonth-2;
months.slice(endMonth).addClass('disabled');
}
else{
months.slice(endMonth).addClass('disabled');
}
}

Can you please highlight which lines this is?

Sorry dude.  There was small mistake.  The real answer was
"Month.slice (endMonth+2).addClass ('disabled ');"
And you must check "this.end date"  is not infinity. Because if it is infinity then you can'take disabled  month. Pass the end date to the datepicker . And replace  the code  where this.endDate set infinity.
If (option.endDate ==null){
this endDate =Infinity;
}
Else {
this.endDate =option.endDate;
}

Please inspect month view then you can see the first two elements are not a month it is glyphs icon. So it should not consider  first two span element for that  we are using "endMonth+2".

Could you add a description how to reproduce this bug?


drivers: counter: Add Ambiq counter driver

This PR adds the Ambiq counter driver, as well as instances in the SoC dtsi file, enabling it on the apollo4p_evb board.
It should be merged after https://github.com/zephyrproject-rtos/hal_ambiq/pull/2 is merged.

I think we shoud add a _timer suffix to the files to follow the pattern other drivers use + it will be easier to distinguish the drivers at a later point, when _rtc is added

Thanks @tgorochowik! I have renamed the file.


Email address for Kubernetes RBAC is case-sensitive

Using gcloud info to get your email address in [step 3](gcloud info | grep Account) returns the address in all lowercase. However, when creating the RBAC role in step 4, the email address is case-sensitive.

Update is already live: https://www.cockroachlabs.com/docs/stable/orchestrate-cockroachdb-with-kubernetes.html#step-1-start-kubernetes


Introduce pruning in the constant synthesis loop

ok it looks good but something like this really wants a test case or two, please add


how to use javascript function in python code

can run browser functions such as Alert window, and others, or the term run_javascript

javascript, CSS is not accessible for programming unigui because all front-end programming is done automatically. You have to describe your pure data. alert and others work by returning from handlers Warning, Info, Error.


Integrate resource viewer code

As an architect I need to provide an example extension that does something useful.
Develop an extension that appears in the Paranext "Hello World" example.
Consider using Chris Klapp's Scripture viewer code to display Scripture text in a read only view.
Depends on #44, #59

The Simple USFM Editor App is a simple editor demo Chris Klapp made. The community-maintained editor based on it is the Xelah editor. The friendsofagape USFM Editor is a Slate-based editor that Autographa made and gave up on. They had a contractor make the editor for them over two years and did not make a lot of progress.
Marc Durdin, Makara Sok, and the Keyman team are running tests on various editor libraries for us:

Prosemirror: https://github.com/keymanapp/keyman/issues/7902#issuecomment-1350811703

Mobile: https://github.com/keymanapp/keyman/issues/7978

Lexical Text Editor: https://github.com/keymanapp/keyman/issues/7937#issuecomment-1360925872

Mobile: https://github.com/keymanapp/keyman/issues/7977

SlateJS: https://github.com/keymanapp/keyman/issues/7938#issuecomment-1360930262

Mobile: https://github.com/keymanapp/keyman/issues/7979

USX Editor: https://github.com/keymanapp/keyman/issues/8312

Mobile: In progress

Xelah HtmlPerfEditor: https://github.com/keymanapp/keyman/issues/8324

Mobile: In progress

The USX Editor seems to be a good baseline for what works in practically just pure HTML contenteditable. There are a few differences between the baseline and tests in these other editors.

Quick USFM viewer? https://www.npmjs.com/org/xelah

Here is a document that contains some research done into existing scripture utilities. From what I can tell, VerseRef from ScriptureForge is probably what we want to use, but we will want to talk about this as a group.

Katherine,
Thank you, this is very good information.  I appreciate it.
-Glenn
…………………………………
[image: Paratext logo]
Glenn Pruitt
Paratext Product Manager
@.***
@.***>
On Wed, May 24, 2023 at 1:50 PM katherinejensen00 @.***>
wrote:

Here is a document
https://docs.google.com/document/d/1erjzEfmGhbv3P39g01Q-RsIHSDPMI9A9B8AvSFaHHVk/edit#that
contains some research done into existing scripture utilities. From what I
can tell, VerseRef from ScriptureForge is probably what we want to use, but
we will want to talk about this as a group.
—
Reply to this email directly, view it on GitHub
https://github.com/paranext/paranext-core/issues/60#issuecomment-1561692605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGT7LYYTMKHR75V6S52RLQ3XHZC4TANCNFSM6AAAAAAVRHQFVQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

This comment is mostly to capture learning and document helpful details about the journey to get to where we are now before we pivot to doing anything we can to get a resource viewer to work.
We started with the goal of using the Xelah editor in read only mode to display USFM resources. As I began, I learned that Xelah is "a collection of libraries" that is "...focused on ste-perf-html but architected to be useful for other projects needing to edit strings parsable into sections and blocks" according to their GitHub ReadMe. There are editors based on these libraries so the question then became which one to use. Ideally, we would use a pure USFM editor that took in USFM, edited USFM, and round tripped USFM back.
There is a beta of a pure USFM editor being developed, but it doesn't have an npm install yet and hasn't had a commit since late July last year. We could potentially package it and install it locally if we ever want to go back and pursue that path.
While talking with developers who work on xelah libraries and related tools about which editor to use, they suggested using the oce-editor. It used proskomma, but should still take in USFM and should be roundtrippable for all intents and purposes except for some white space differences. They were curious if we could come up with some cases where round tripping failed. The oce-editor is actively being worked on and is ready to be imported/installed. For a resource viewer that didn't need roundtripping, this seemed like the quickest way to go to get something working.
We started with oce-editor-tools/simple and tried to npm install that. We ran into some package dependency conflicts. The oce-editor-tools team gave us a basic boilerplate project that used oce-editor-tools/simple so we could see that it was successfully imported and so we could compare it with our extension installation and see where it was breaking down. Npm install failed in their basic project which had us bewildered until Ira noticed the project had a yarn file as well. Normally both yarn and npm will work, but since npm wasn't working we decided to give yarn install a try. Yarn worked and we were able to use synp on the created yarn file to generate a package-lock file that we could then successfully use npm install on. This worked in the boilerplate app and worked once in paranext-core. However, it was fragile in paranext-core and kept needing to be redone anytime a branch was switched or a change was pulled or merged in. Eventually, that trick stopped working all together. We tried without success to fix the package dependencies.
We went back to the oce-editor-tools team, who has been helpful and quick to respond throughout the process, and after a few attempts to fix it, they suggested using oce-editor-tools/core instead since they aren't really working on simple anymore. That made sense so we switched to that and got it working in the boiler plate app after some syntax changes. When we tried to get it working in parenext-core though we ran into similar package depency problems that we were again struggling to resolve. We were also concerned about the data file that didn't look like typical usfm. Since oce-editor-tools used proskomma to display and edit usfm it is possible it may have transformed the usfm to a certain point and put that in the data file to save a step, but I didn't look into that to confirm. The view takes advantage of proskomma and epitelete-html. Here is a vocabulary doc with some definitions of terms that was kind of helpful while researching this. The oce-editor-tools/core team is continuing to improve it and are removing some old dependencies pretty soon.
Now we are going to research the quickest way to get a resource viewer extension in paranext-core.

Shared Editor Research Folder


A method to get sub sets of a set might be useful

I have implemented it. I share it to you.
	public static <T> Set<Set<T>> getSubSets(Set<T> objects) {
		Set<Set<T>> sets = new HashSet<>();
		if (objects.isEmpty()) {
			Set<T> set = new HashSet<>();
			sets.add(set);
			return sets;
		}

		int size = objects.size();
		List<T> list = new ArrayList<>();
		list.addAll(objects);
		Map<Integer, T> index2Object = new HashMap<>();
		for (int i = 0; i < list.size(); i++) {
			index2Object.put(i, list.get(i));
		}

		int subSetsNum = (int) Math.pow(2, size);
		for (int i = 0; i < subSetsNum; i++) {
			Set<T> set = new HashSet<>();
			for (int j = 0; j < size; j++) {
				if ((i & ((int) Math.pow(2, j))) > 0) {
					set.add(list.get(j));
				}
			}
			sets.add(set);
		}
		return sets;
	}

Firstly thank you for comment on Fig!
But this method is 2^N space size. What's is the use case?
It has high possibility to be out of memory. It is better to use iterator instead.
Currently we only have Seq, CharSeq and Hash. There is no Set yet.

What the purpose of this method?

Currently I use this method in financial scenarios.
For example, there are 40 options to trade, I want to get any 4 options to trade. The any 4 options is combined together.

@zjulzq
Please check this PR, whether it is what you want:
https://github.com/wapatesh/fig/pull/19

@liuyang1204 Yes, it is.


WL-4918: On a public site, hyperlinks inserted via 'add content' do n…

…ot work for non-logged in user.
The problem here is that, when the content link in Lessons is clicked, it uses general security (rather than lessonbuilder security)  which throws an error that the user is not logged in (rather than opening up the link in a new tab).  The test it uses to decide which kind of security to use is partly whether the page has been visited by the current user,  and to check this it looks in the LESSON_BUILDER_LOG table and tries to find an entry containing the link and a null userid.  Unfortunately, the userId column is a non-null column so it is never going to find that row!
This change is to change it so that it searches for a empty string rather than a null userId.
Nb. I initially tried passing in the empty string as one of the 2 field parameters but the semantic string parsing does not make sense to Java even if it is escaped.

Yes I'll clean it up.

I've fixed the bug where, if you go to a Lesson page as a non logged in user, it gets logged in the LESSON_BUILDER_LOG table with a empty string userId. Now it logs it as '.anon', which is the same userId as when you click on a link in a Lesson page as a non logged in user.  This in turn means that I can just use a tenary operator passing in '.anon' when the check is made to see if the page has been visited.


Not mutate global zerolog.LevelFieldName

go-logr/zerologr#6

@thockin @pohly As I explained in the issue #6, this PR is to restore level key to NOT breaking zerolog API while still complying logr API with v field. NewWithOptions may not be necessary since DisableZerologLevelField is just mutating zerolog.LevelFieldName globally, so IMHO we can add NewWithOptions later when we have options to apply on LogSink struct.

@thockin @pohly As I explained in the issue #6, this PR is to restore level key to NOT breaking zerolog API, otherwises there is no level and v field in the codepath using zerolog without zerologr. NewWithOptions may not be necessary since DisableZerologLevelField is just mutating zerolog.LevelFieldName globally, so IMHO we can add NewWithOptions later when we have options to apply on LogSink struct.
Restoring level field will make zerologr consistent with zapr. If users who use logr in all parts of application think level field and v field are redundant, they can disable zerolog.LevelFieldName and zapcore.OmitKey (or we can do a better job documenting it)

I see. I had it backwards.


Update planned enhancements for Developer Guide

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


Add upgrade from previous kubecf to CI

Is your feature request related to a problem? Please describe.
Based on an error spotted during upgrade tests, which involved a change in variable names, we should ensure kubecf users are able to upgrade without issue. Therefore, we should add a test to the CI for an upgrade from N-1 to N to make sure we catch things that could eventually go into documentation.

This should test from latest published release -> current master.

Working on it here: https://github.com/cloudfoundry-incubator/kubecf/tree/add_upgrade_test

@jimmykarily I see that the logic is implemented on Catapult. Could you link the work there so we can review that the logic is enough to keep this issue closed? I have some particular concerns about this upgrade story.

@f0rmiga there was no new functionality implemented in catapult. The only new code is here: https://github.com/cloudfoundry-incubator/kubecf/pull/664/files . I just used known and working catapult targets to deploy the latest stable release and then upgrade to the given commit.

One thing that may not be clear: the new concourse task relies on the catapult exit status which is non-zero when the deployment fails.


The link address of the flutter web project page cannot be opened by accessing it alone

页面链接打不开我知道是#号的原因了，加上#号就能打开了，现在有个问题：
我自己项目中微信授权登录后跳转到首页因为首页链接有#号获取不到#号后面的参数。
我的想法是能不能首页使用去除#号，其它页面带#号，这种的怎么实现？
现在只能做到要么项目所有页面链接都带#号，要么都不带#号，如何实现某个页面不带#号，其它页面带#号呢？
translated using Google translate
The page link can't be opened. I know the reason for the # sign. It can be opened by adding the # sign. Now there is a problem:
In my own project, after WeChat authorized login, I jumped to the home page because the home page link has a #, and I cannot get the parameters behind the #.
My idea is whether the first page can be used to remove the ##, and other pages have the ##. How to achieve this?
Now it can only be done that either all page links of the project are marked with #, or none of them have #. How to realize that a certain page does not have a #, and other pages have a #?

Hi @haoxuhong, Thanks for filing the issue.

How to realize that a certain page does not have a #, and other pages have a #?

Please ask support questions on community forums like StackOverflow. You might also get some help if you post with sufficient code and an explanation of what you have tried.
Closing as this is neither a bug nor a feature request. In case you disagree, feel free to write in the comments and we will reopen it.
Thank you.


No Menu

I just cloned your repo and opened the html page in Google Chrome.  The menu is missing.  I checked developer tools and the JS is loading but there is a javascript error in the code.
Uncaught TypeError: Cannot set properties of null (setting 'textContent')
at updateTopBar (VM136 hamdash.html:281:30)
at VM136 hamdash.html:292:5
topBarLeft.textContent = ${localDate} - ${localTime};
Uncaught Type Error: Cannot set properties of null(setting 'text content')

I pushed an update to fix the JavaScript error your reported and the error is now resolved.
The menu is hidden you have to move the mouse closer to the top edges on both sides of the screen to make them visible. Maybe is that.
Please get the updated file and let me know if everything is good. Thanks.

installed update and now I can get to the menu.  This is a problem with overlap of the menu tabs.  I am going to close this and open another for that bug.  Thanks!


_rfc / _rfce is gone in new version

Basically it's snippet that create a react functional component without importing React at the top of the file. In the new version of the extension the snippet is no longer available

Duplicate of #215. Please look at README Options

Thank you


NetHelper.GetNetworkConfiguration()

Implement NetHelper.GetConfiguration() to return information about the current machine's network, including:

Routable IP address
Network CIDR
Gateway address
DNS servers

DONE

DONE


make tests failing

I am setting dev environment for custom plugin development.
I have a docker env with centos7, lua <IP_ADDRESS>, luarocks 2.4.1 & I have cloned the latest kong https://github.com/Mashape/kong and following the documentation as per https://github.com/Mashape/kong#Development.
make dev works fine,
[root@cadd96ec2457 kong]# make dev
kong 0.11.0-0 is now installed in /usr/local (license: MIT)
busted already installed, skipping
luacheck already installed, skipping
lua-llthreads2 already installed, skipping
make test fails,
[root@ac213cf7df7a kong]# make test
●●●●●●●●●●●✱✱✱●●●●●✱✱✱✱✱✱✱●●●●●●✱✱
22 successes / 0 failures / 13 errors / 0 pending : 1.161994 seconds
Error → ./kong/tools/utils.lua @ 11
suite spec/01-unit/002-conf_loader_spec.lua
./kong/tools/utils.lua:11: module 'ffi' not found:No LuaRocks module found for ffi
any advise on how this can be fixed ?

as just remarked in your other issue, please use proper channels. the ffi module is LuaJIT specific.
For a quick route, use the Kong-Vagrant box, see the instructions there https://github.com/Mashape/kong-vagrant/blob/master/README.md


Error:  Etherscan could not detect the deployment.

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0
What command(s) is the bug in?
forge script ./script/Chatter.s.sol:ChatterScript --rpc-url http://localhost:1248 --broadcast --sender 0xe723db61481390dFe97558fF454f9B0F40181830 --unlocked --chain-id 11155111 --verify
Operating System
macOS (Intel)
Describe the bug
Hello everyone,
I am facing an issue while trying to upload my smart contract on the Sepolia testnet network. Although the deployment is successful and I can view the transaction on Sepolia Etherscan, the input data for the contract is empty. Also when I am trying to verify the contract I receive this error "Error: Etherscan could not detect the deployment."
I would highly appreciate it if you could help me with this.
here is my script contract code
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {Script} from "forge-std/Script.sol";
import {Chatter} from "../src/Chatter.sol";

contract ChatterScript is Script {

    function run() public{
        vm.broadcast();
        new Chatter();
    }

}

Such error usually means that you have to wait a bit while Etherscan is indexing your contract. If that happens, running script with --resume flag after some time should help

Such error usually means that you have to wait a bit while Etherscan is indexing your contract. If that happens, running script with --resume flag after some time should help

I did, but unfortunately I am getting the same error again. Also the contract itself has no input data on Etherscan for Sepolia network again.

does the deployed contract has any code? can you share the deployment transaction?

does the deployed contract has any code? can you share the deployment transaction?

No there is no code within the contract. This is the transaction hash "0x12f248de3fd27fcb7b0f03a845d8c1819860583d54271bbdbfcc68399ea5ff1a"

right, so this is basically a CREATE transaction with empty data, this contract can't be verified.
Can you reproduce this reliably? Does script artifacts look correct?

right, so this is basically a CREATE transaction with empty data, this contract can't be verified.
Can you reproduce this reliably? Does script artifacts look correct?

Yeah everything looks fine I just double checked it.

Marking as invalid as the deployed contract is empty (0x)
Your contract will need to be more substantial in order to be verified
Feel free to re-open with an additional minimal reproduction

@zerosnacks the contract has some code. I am having the exact same issue. Here is the smart contract;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

contract Chat {
    event Message(address indexed sender, string message);

    function sendMessage(string calldata message) public {
        emit Message(msg.sender, message);
    }
}

After deploying on sepolia, the verification times out.

@notchuks are you on latest nightly? thinking this might have been fixed by https://github.com/foundry-rs/foundry/pull/8532

@klkvr I will run foundryup right now and retry this. Thanks for the speedy response.

It times out with the same response: Etherscan could not detect the deployment. Here is the contract address: 0x470bCcb64Abce80b0618E6c8F59E610738F9AaAa

you mind sharing script artifacts from broadcast/ folder?


Don't call OnConnectFailed when failed to connect during shutdown

Fixes #111
Once Stop() is called on the websocket client we don't call OnConnectFailed handler if a dial fails.
Tested this fix on a system that was repeatedly showing the OnConnectFailed handler called during shutdown.

@tigrannajaryan I can try. I'm not sure how possible it is since you need to Stop the opamp client at certain point. I don't know if it's possible right now to force the client to block so we can hit that point.

@tigrannajaryan I can try. I'm not sure how possible it is since you need to Stop the opamp client at certain point. I don't know if it's possible right now to force the client to block so we can hit that point.

OK, please try. Ideally we want to clearly demonstrate that the PR really fixes the problem and an automated test helps a lot.
If you find that it is impossible we can merge as is.

@tigrannajaryan I've been messing around with this and I can't seem to get it consistent. I was able to write a test that triggered the race condition like 1 in 5 runs. The race conditions lies inside the runUntilStopped which runs concurrently on start. We have no injection point currently to have it hang.
The test I have was starting the client, waiting a few milliseconds, stopping it, the checking if OnConnectFailedFunc was called. This is probably a good test just in general but it doesn't isolate/prove the race condition was solved.
There's only one other test for the websocket implementation that shows OnConnectFailedFunc is called when the sever closes the connection. So maybe a test showing we don't call OnConnectFailedFunc on a client connection close is good, but like I said doesn't highly the race condition fix.

OK, let's merge this as is and maybe we can add more tests as part of https://github.com/open-telemetry/opamp-go/issues/99


Remove time_distributed_softmax in favour of softmax

There is no reason to have two different functions for this! The softmax
function can just be configured to always perform the softmax across the
trailing dimension (i.e. nb_dimensions)

Agreed.


Fix missing trace argument

LGTM.com found this mismatch between format and arguments.
Lets also make sure the array is printable.
Source: https://lgtm.com/projects/g/apache/activemq/alerts/?mode=list

Looks like the master does not have this problem anymore,
Code moved to  org.apache.activemq.TransactionContext.commit(Xid, boolean) L564 and rollback have proper log arguments.


Config Profiles corrupt when migrating

When migrating profiles from one JSS to another the config profile signature is not getting removed so the JSS will fail to properly send and receive feedback with migrated profiles. Current fix is to download profile from JSS1 and upload to JSS2 and recreate. This seems to fix all the errors in logs and weird problems with macOS devices properly applying config profiles.

Interesting.  Is there a particular type of payload included in the configuration profiles you're seeing fail.  The app downloads the profiles as text, note the payload will be xml encoded.  If you could provide more details about the errors in the logs that might help.  Or, if it contains no sensitive information, the raw xml of a profile that is not migrating properly.

Nothing sensitive I’ll see if I can get one but any migrated profiles will look like they are working and won’t show any errors till you start to get errors in the logs. They will appear to be working and show feedback errors in the logs. The one that is most obvious is the KEXT config profile. The profile will appear to be pushed normally till it actually has to allow the configured KEXTS then it will act as if the profile is. It in the system. Once you remove the bad profiles and rehollad them and remove the signature it seems to fix the issue. No more errors in the logs and profiles seem to activate normally.

seems to be resolved.


[zh-cn] Reference files to sync task-6

related: https://github.com/kubernetes/website/issues/39987

Thanks.
/approve


Entrypoint source map has 10 extra lines due to @sentry/esbuild-plugin

Hello,
I'm currently working on a Node.js lambda project written in TypeScript. I'm using the @sentry/esbuild-plugin to upload source maps to Sentry. While I can successfully view the source code on Sentry, I've noticed that the entrypoint source map has 10 extra lines, causing the line numbers in Sentry to not match the line numbers in my GitHub repo.
After investigating, I found that the extra lines are generated by the following code inserted by @sentry/esbuild-plugin during the transform process:
https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/97a2a2f7e72b19aade44d008a55ee5a8490c51b1/packages/bundler-plugin-core/src/index.ts#L351-L361
However, since I'm explicitly setting the release in my code when I use Sentry and I'm aware that I'm running in a lambda environment, I don't really need this piece of code.
I'm wondering if there's a way to address the line number mismatch issue, such as adding a switch to skip the generateGlobalInjectorCode function.
Thanks!

Hi, you can set releaseInjectionTargets: [] like this in order to skip the release injection process.

@lforst Thank you very much.


Light client overview

Hey, checking in - is this ready to be merged?

@vthunder not yet, more changes are incoming as soon as I snatch some time...


Add<EMAIL_ADDRESS>to BCR

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (tink_cc) have been updated in this PR. Please review the changes.


Let's introduce unnest_wider() in TidierData.jl!

Hey there!
In R's tidyverse, the unnest_wider() function provides a convenient way to spread the contents of a column, which contains arrays or lists of values, across multiple new columns. Let's consider a DataFrame named test and see how we'd like the result to appear:
test = DataFrame(a = [1,2], b = [["c","d"],["e", "f"]])

# result
result = DataFrame(a = [1,2], b_1 = ["c" , "e"], b_2 = ["d", "f"])

To achieve that with R's tidyverse we would have:
> data <- tibble(
  a = c(1,2),
  b = list(c("c","d"), c("e", "f"))
)

> data_wide <- data %>%
  unnest_wider(b, names_sep = "_")

> data_wide
# A tibble: 2 × 3
      a b_1   b_2
  <dbl> <chr> <chr>
1     1 c     d
2     2 e     f

To achieve a similar result in Julia using the DataFrames.jl package, the process is straightforward, albeit with a distinct Julia-idiomatic flavor. First, we'd define a function, split_uniformly(), to handle the transformation. Then, we'd use this function within the transformation pipeline provided by the DataFrames minilanguage:

julia> test = DataFrame(a = [1,2], b = [["c","d"],["e", "f"]])

julia> function split_uniformly(v)
    n = length(first(v))
    [NamedTuple(Symbol.("b", 1:n) .=> Tuple(amem))
     for amem in v]
end

julia> test_wide = @chain test begin
    transform(:b => split_uniformly => AsTable)
    select(Not(:b))
end
2×3 DataFrame
 Row │ a      b1      b2
     │ Int64  String  String
─────┼───────────────────────
   1 │     1  c       d
   2 │     2  e       f

Exactly! flatten() is the equivalent. However, I guess there are some decisions to be made over here..either keep flatten() and a new function with a similar name (but without unnest in front) that corresponds to R's unnest_wider() or for consistency with the tidyverse idea reshape flatten() a bit and name it unnest_longer(), while you also create a unnest_wider().

@nest(), @unnest_longer(), and @unnest_wider() are now officially supported in v0.14.4.


raftstore: introduce the new split config and CPU collector registration mechanism

Signed-off-by: JmPotato<EMAIL_ADDRESS>What is changed and how it works?

Issue Number: ref #12063. This is a sub-PR of #12593 and should be merged after #12942.
What's Changed:

Introduce the new split config and CPU collector registration mechanism.

Check List
Tests

Unit test
Integration test

Release note
None.

/cc @nolouch @lhy1024 @rleungx

/merge

/test


esm - import modules (mjs, mts,..) or setting package.json's type to "module" not working as exepcted

Environment

Operating System: Linux
Node Version:     v18.9.0
Nuxt Version:     3.0.0-rc.9
Nitro Version:    0.5.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      srcDir, typescript, head, loading, css, middleware, runtimeConfig, tailwindcss, modules, env, build
Runtime Modules<EMAIL_ADDRESS>~/modules/dashboardcore.mts, ~/modules/auto-import-eslint.ts
Build Modules:    -

Reproduction
(will update later)
Describe the bug
I'm running into different issues when trying to use modules inside of the nuxt3 project.
this one is the one I'm struggling the most: I'm importing a module (mts), but it says I cannot use import statements outside a module. This doesn't make sense in any way.
e.g. [jiti] [unknown] /home/simon/Dev/hokify/hokify-dashboard/src/modules/dashboardcore.mts                                                                                13:38:16
ERROR  Cannot start nuxt:  Cannot use import statement outside a module                                                                                13:38:16
import fs from 'fs';
Additional context
Shoudl it be possible to use mts / mjs, or is there anything that I'm missing here?
Logs
No response

Hey there! Please add a minimal reproduction so we can look into that properly, thank you 🙏🏻💚
Going to mark this as can be closed for now, feel free to reopen if it still persists!

I'm closing this as we don't have a reproduction. But please feel free to add one and I'll happily reopen. We have, however, made considerable improvements to https://github.com/unjs/jiti 🤞


RN Uncaught exceptions

Description

Removed unnecessaries image.Prefetch for SVGs.

#About #2570

@mauriguz have you verified that all those svgs are used correctly as components?

@mauriguz have you verified that all those svgs are used correctly as components?

@sirpy yes


Unidentified developer error in macOS 11.4

I don't know if this only occurs in Apple M1 devices, but on my m1 macbook it tells me an unidentified developer error when I open it.
In part of the app's functionality, i have enabled in settings app and it's working fine.

Most of the apps have unidentified developer warning otherwise we have to pay Apple Developer program account for $99 and, for now, it's not an option 😂

Oh thank you, I didn't know that(I thought this price was just for mobile devices 😅) and I'm closing this issue.


Ribbon overlaps with Content Header on worksheet page type with DeleteAllowed/InsertAllowed false

On a Worksheet type page with DeleteAllowed/InsertAllowed false, the ribbon will overlap with the content header. This results in the search and designer icons overlapping the close icon in the upper right corner of the page.

AL Extension Version: 0.16.19969
Server Version: US Dynamics NAV 11.0 (23572)
Page Properties:
page
{
DeleteAllowed = false;
InsertAllowed = false;
LinksAllowed = false;
PageType = Worksheet;

This forum is dedicated only to supporting the latest Business Central Developer Preview release. If you can reproduce the problem on the latest preview version we will be happy to look further into it. Otherwise could you please contact the regular support channel.
For more details please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#i-found-an-issue-on-nav-2018-what-do-i-do


[SDP-714] httphandler: validate phone number before send OTP

What
This PR adds a validation to the phone number before sending the OTP to the receiver.
Why
To make the phone number validation consistent.
Known limitations
N/A
Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).
[x] This PR's title starts with the name of the package, area, or subject affected by the change.

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[x] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[x] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[x] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[x] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[x] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr38.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr38.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr38.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr38.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr38.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr38.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr38.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr38.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr38.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr38.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr38.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr38.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr38.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr38.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr38.previews.kube001.services.stellar-ops.com


Travis CI integration

Integrated the execution of the examples into Travis CI.
@wildraid to complete this PR an account on Travis is needed, AFAIK for OSS the account is free.

Travis is live!
YML file is exactly the same. I've made few minor changes to creation of test schema in 00_prepare.py.
I'll add proper section with all soft-dependencies later. There are many of them, not only pandas.
Thank you, this is very helpful!


Store Timezone as Arc

Which issue does this PR close?

Relates to #3955
Rationale for this change

Timezones are very often constant over a large number of types, e.g. if part of a session global default timezone. Maintaining separate allocations for every timestamp is therefore incredibly wasteful.
I originally wanted to propose storing Tz but this led to two major issues:

DataType: Ord and it isn't clear what this would mean
It would prevent roundtripping unrecognised timezones

Switching to Arc<str> allows reusing the same allocation whilst also reducing the size of the variant
What changes are included in this PR?

Are there any user-facing changes?

This, combined with #3965 and corresponding changes to the Union DataType we can get DataType down from 56 bytes to 24

Perhaps we could add convenience methods to construct these variants like

I'd rather avoid these as it results in a slightly confused API surface, but I will add some documentation to the variant itself

I'd rather avoid these as it results in a slightly confused API surface, but I will add some documentation to the variant itself

Adding docs is a good start -- and we can always add a new method in the future if that would help


Azure IPAM allocates subnet per pod on the node if subnet is not specified in network config

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
Which release version?:
I tried on azure v1.0.2
Which componenet (CNI/IPAM/CNM/CNS):
CNI IPAM
Which Orchestrator and version (e.g. Kubernetes, Docker)
Kubernetes
What happened:
As explained in the PR https://github.com/Azure/azure-container-networking/pull/105, azure ipam fails to allocate IPs from second pods onwards on nodes if the subnet in the network config is not set.
What you expected to happen:
Azure to allocate a pool if its not allocated and then allocate an ip for every pod from the pool.
How to reproduce it (as minimally and precisely as possible):

Create a vnet <IP_ADDRESS>/16

Create 3 subnets in the vnet <IP_ADDRESS>/24, <IP_ADDRESS>/24 , <IP_ADDRESS>/24

Create 3 Linux VMs on Azure and attach VM1 to default subnet , VM2 ucp-subnet, VM3 linux-subnet.
So the azure metadata servers on each of the VMs now have access to the /24 subnet its attached to.

Install kubernetes using kubeadm

Now that kubernetes is running , copy the azure-vnet-ipam binary to cni directory.

Deploy Calico cni and point the ipam to azure-vnet-ipam. Here is the calico.yaml I used.
https://gist.github.com/abhi/b752cc662297c12b9780c0297d16181b
Note the only change in this yaml from standard calico yaml is the ipam is set to azure-vnet-ipam and the address pool for calico is set to the main address pool <IP_ADDRESS>/16 (Though this is not relevant in my setup).

Now that cni and ipam plugins are deploy. Kubernetes is ready for deployment.

kubectl get nodes
NAME           STATUS     ROLES     AGE       VERSION
abhi-cali-1    Ready      master    49m       v1.10.0
abhi-cali-2   NotReady   <none>    48m       v1.10.0
abhi-cali-3    Ready      <none>    48m       v1.10.0

Deploy pods kubectl run curl-image6 --image=sequenceiq/alpine-curl --replicas=10 -- sleep 900000

kubectl get pods -o wide
NAME                           READY     STATUS              RESTARTS   AGE       IP            NODE
curl-image6-55f998f9cb-29b64   0/1       ContainerCreating   0          16m       <none>        abhi-cali-3
curl-image6-55f998f9cb-4n8g8   0/1       ContainerCreating   0          16m       <none>        abhi-cali-3
curl-image6-55f998f9cb-9q9qx   0/1       ContainerCreating   0          16m       <none>        abhi-cali-2
curl-image6-55f998f9cb-dfw8f   0/1       ContainerCreating   0          16m       <none>        abhi-cali-2
curl-image6-55f998f9cb-fsgh6   0/1       ContainerCreating   0          16m       <none>        abhi-cali-3
curl-image6-55f998f9cb-fwwq4   0/1       ContainerCreating   0          16m       <none>        abhi-cali-3
curl-image6-55f998f9cb-mlh5s   0/1       ContainerCreating   0          16m       <none>        abhi-cali-2
curl-image6-55f998f9cb-p9zff   1/1       Running             0          16m       <IP_ADDRESS>   abhi-cali-3
curl-image6-55f998f9cb-w5t2d   1/1       Running             0          16m       <IP_ADDRESS>   abhi-cali-2
curl-image6-55f998f9cb-zt77x   0/1       ContainerCreating   0          16m       <none>        abhi-cali-2

Logs from azure ipam on of the nodes where the second pod failed
2018/04/02 21:36:46 [cni-ipam] Plugin started.
2018/04/02 21:36:46 [cni-ipam] Processing ADD command with args {ContainerID:0aafa74c66f31f16254a86429e79b4ed0cb7f61a05bffa99ea31239baabc022a Netns:/proc/105794/ns/net IfName:eth0 Args:IgnoreUnknown=1;IgnoreUnknown=1;K8S_POD_NAMESPACE=default;K8S_POD_NAME=curl-image6-55f998f9cb-mlh5s;K8S_POD_INFRA_CONTAINER_ID=0aafa74c66f31f16254a86429e79b4ed0cb7f61a05bffa99ea31239baabc022a Path:/opt/calico/bin:/opt/cni/bin}.
2018/04/02 21:36:46 [cni-ipam] Read network configuration &{CNIVersion:0.3.0 Name:k8s-pod-network Type:calico Mode: Master: Bridge: LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet: Address: QueryInterval:}}.
2018/04/02 21:36:46 [ipam] Starting source azure.
2018/04/02 21:36:46 [ipam] Refreshing address source.
2018/04/02 21:36:46 [ipam] Save succeeded.
2018/04/02 21:36:46 [ipam] Requesting pool with poolId: options:map[azure.interface.name:] v6:false.
2018/04/02 21:36:46 [ipam] Checking pool <IP_ADDRESS>/24.
2018/04/02 21:36:46 [ipam] Pool is in use.
2018/04/02 21:36:46 [ipam] Pool request completed with pool:<nil> err:No available address pools.
2018/04/02 21:36:46 [azure-vnet-ipam] Failed to allocate pool: No available address pools.
2018/04/02 21:36:46 [cni-ipam] ADD command completed with result:<nil> err:Failed to allocate pool: No available address pools.
2018/04/02 21:36:46 [cni-ipam] Plugin stopped.

Anything else we need to know:

In your subsequent requests you have to pass poolid that you received to get ips from the pool

I think the issue is that this^ is not a part of the official CNI spec, so other CNI plugins won't do it. For the Azure IPAM plugin to be compatible with other CNI plugins (like Calico's), it needs to be able to be called subsequently without the "poolid".

We don't plan to make this change at this point. We will reconsider if needed in future.

Is there any specific reason why this issue is not getting addressed ?


[Proteomics] Import Introductory slide deck from @foellmelanie

Hi @foellmelanie! I made a first pass at adding your slides to the GTN format, please feel free to change anything you want.
I left one TODO in there for you, that schematic did not display nicely for me because I don't have proper Powerpoint here, so would be great if you can take a screenshot of it and add it in
Let me know what you think and if anything should change!
Oh, and go ahead and add speaker notes if you would like to use the slides-to-video feature :)

Thanks for the review @subinamehta! :+1:


Validation error

Laravel Version: 5.5

Voyager Version: 1.0

PHP Version: 7.1

Description:
Hi. I am facing an issue with validation. Basically, I have one field for the BREAD named Flat Area. When I add a validation rule to it in the options like so:
{
    "validation": {
        "rule": "min:0|numeric"
    }
}

validation doesn't work. Only when I change the display name of the Flat Area field to flat_area, then it does work. I have looked into the code and found an issue. It's in the validateBread function inside the Voyager's base controller. It tries to validate the field from request named "Flat Area" (the value of the display_field column in the database), but since it's called "Flat Area" (the input has name="flat_area") it can't map the validation rules to this field.
Is there a way to leave the display field as "Flat Area" but to make validator work?
Thanks.

I believe I found a solution to this problem.
If you change $rules[$row->display_name] to $rules[$row->field] here on  lines 130 and on line 132 it starts working fine.

This also relates to #2205 and #2236

I used @DODMax fix.
This fixed the validation error when the fields are entered correctly, but when there's actually an error I'm not seeing any messages or validation.
Any suggestions?

This was fixed in #2660


Feat: Custom scroll bar and cursor

Describe the feature
I want to add a Custom Scroll bar and Cursor which will fit the Websites UI
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I'm a VSoC'24 contributor
[X] I want to work on this issue

@mehrun171 according to our website color, I think there is no need to add a custom scroll bar. It looks weird after adding it. Please search for another issue and raise it, which I'm happy to assign to you. :)


vkGetInstanceProcAddr for vkCreateDevice broken on some newer Vulkan loader revisions

Description
This commit in the Vulkan loader broke WrappedVulkan::vkCreateDevice(), since it uses vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkCreateDevice"):
https://github.com/KhronosGroup/Vulkan-Loader/commit/4be91725abb01e8004be966203b95a181c06e1a0
It was later "fixed" through a compatibility hack in https://github.com/KhronosGroup/Vulkan-Loader/commit/23d4caea0d450b94fd96fa380307d755379df5a2
It's unlikely that anyone will run into this bug in the wild since the compatibility fix was added within a matter of a few days. However, it sounds like requesting the vkCreateDevice function without an instance handle is against the spec, so this should probably be fixed anyway.
Proposed fix, with an added sanity check for createFunc being non-null to prevent a less graceful crash:
diff --git a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp
index fc0d383ca..c3bd5c546 100644
--- a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp
+++ b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp
@@ -3902,7 +3902,13 @@ VkResult WrappedVulkan::vkCreateDevice(VkPhysicalDevice physicalDevice,
   // move chain on for next layer
   layerCreateInfo->u.pLayerInfo = layerCreateInfo->u.pLayerInfo->pNext;

-  PFN_vkCreateDevice createFunc = (PFN_vkCreateDevice)gipa(VK_NULL_HANDLE, "vkCreateDevice");
+  PFN_vkCreateDevice createFunc = (PFN_vkCreateDevice)gipa(m_Instance, "vkCreateDevice");
+
+  if(createFunc == NULL)
+  {
+    RDCERR("Couldn't get the address of vkCreateDevice. Incompatible loader?");
+    return VK_ERROR_INITIALIZATION_FAILED;
+  }

   // now search again through for the loader data callback (if it exists)
   layerCreateInfo = (VkLayerDeviceCreateInfo *)pCreateInfo->pNext;

Steps to reproduce

Attempt any Vulkan RenderDoc capture when using a vulkan-1.dll built from https://github.com/KhronosGroup/Vulkan-Loader/commit/4be91725abb01e8004be966203b95a181c06e1a0
RenderDoc layer will cause the application to crash upon trying to call through the null createFunc pointer.

Environment

RenderDoc version: v1.26-65-geb643dd76 (eb643dd76f92aed18f9837fe942d5491feb8f3e1)
Operating System: Windows 10 19044.2846
Graphics API: Vulkan

Very strange that I had that there, it looks like that code goes back to the earliest layer interface changes just before public vulkan 1.0 release, I presume it was explicitly illegal back then too and this is just a copy-paste error though the spec has been tightened up around the behaviour of GIPA/GDPA since then.
Closed in b115a6750b - almost the same as your diff but with an unwrap of the instance.


Use of Immutable.js is not consistent

We are using a combination of Immutable objects and plain javascript objects causing us to validate if the object we are currently handling is immutable in order to properly access its values. This causes duplicate code and unnecessary complexity since we are doing the same login in two different ways.
For example this logic appear in two different places doing the same but one for immutable and one for a JS object
https://github.com/samtecspg/articulate/blob/master/ui/app/containers/IntentPage/reducer.js#L151
and
https://github.com/samtecspg/articulate/blob/master/ui/app/containers/IntentPage/reducer.js#L164
We need to:

Ensure that every time we load data from the DB this is converted to immutable
Each time the user changes the state this is converted to immutable and then passed to the state
Remove any validation if the object is immutable or not and assume it should be immutable

Closed by https://github.com/samtecspg/articulate/commit/beefb390fd67f315461d27bce902974cef3c02ab


Support AES-256 encryption

Add configs related to enabling AES-256 encryption
Related issue

https://github.com/wso2/product-is/issues/21217

Merge after

[x]  https://github.com/wso2/carbon-crypto-service/pull/31

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11483267374

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11483267374
Status: failure


Initial pass of Box/Folder models + behavior

There's a lot to do here still, but it's a good starting point so we can
divide and conquer.

Coverage decreased (-0.3%) to 99.727% when pulling 8c72bac525a50570e6a347808f9e812f452c95a8 on boxes into a1f8871ab110f61226e551c3d5535d9efcaf5a04 on master.

I created #1205 and #1206 for some related issues that we can resolve once this is merged.

I just pushed a commit that should get us to 💯  — and then I think this is ready to merge.

Coverage remained the same at 100.0% when pulling c076406747d51ea497c2a82a26ea4666e78c4148 on boxes into a1f8871ab110f61226e551c3d5535d9efcaf5a04 on master.


Banner Not Showing QML

I'm creating a banner:
`AdMobInterstitial
{
id: intertitial
visible: true
Component.onCompleted: {
    intertitial.unitId = "ca-app-pub-xxxxxxxxxxxxxxx/yyyyyyyyyy"
}

onClosed: {
    intertitial.unitId = "ca-app-pub-xxxxxxxxxxxxxxx/yyyyyyyyyy"
}
onLoaded: {
    console.log("loaded")
}

onLoading: {
    console.log("loading")
}

}`
This is app output:
D Mobile Client: qml: loading I hoiceofmajorit: The ClassLoaderContext is a special shared library. I hoiceofmajorit: The ClassLoaderContext is a special shared library. I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21800 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 21800 D DynamitePackage: Instantiated singleton DynamitePackage. D DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl D NetworkSecurityConfig: No Network Security Config specified, using platform default I Ads     : Updating ad debug logging enablement. I Ads     : Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("2CEA88BC3475902B17D97EF1A9FE33F4") to get test ads on this device. W hoiceofmajorit: Accessing hidden field Ljava/nio/Buffer;->address:J (light greylist, reflection) I hoiceofmajorit: The ClassLoaderContext is a special shared library. I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21800 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 21800 I AudioManager: In isSpeakerphoneOn(), calling application: org.comp.choiceofmajority D AudioManager: getStreamVolume isRestricted mode = 0 D AudioManager: getStreamVolume isRestricted mode = 0 I WebViewFactory: Loading com.android.chrome version 80.0.3987.99 (code 398709932) I cr_LibraryLoader: Loaded native library version number "80.0.3987.99" W Ads     : Update ad debug logging enablement as false W hoiceofmajorit: Accessing hidden method Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z (light greylist, reflection) D EgretLoader: EgretLoader(Context context) D EgretLoader: The context is not activity W hoiceofmajorit: Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (light greylist, reflection) W cr_media: Requires BLUETOOTH permission W VideoCapabilities: Unsupported mime video/divx W VideoCapabilities: Unsupported mime video/divx311 W VideoCapabilities: Unsupported mime video/divx4 W VideoCapabilities: Unrecognized profile 4 for video/hevc W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 I VideoCapabilities: Unsupported profile 4 for video/mp4v-es W Utils   : could not parse long range '175-174' I Ads     : Ad failed to load : 0 I hoiceofmajorit: ProcessProfilingInfo new_methods=952 is saved saved_to_disk=1 resolve_classes_delay=8000 W ConnectionTracker: Exception thrown while unbinding W ConnectionTracker: java.lang.IllegalArgumentException: Service not registered: lt@2d8d000 W ConnectionTracker: 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1570) W ConnectionTracker: 	at android.app.ContextImpl.unbindService(ContextImpl.java:1702) W ConnectionTracker: 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:727) W ConnectionTracker: 	at cg.b(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):1) W ConnectionTracker: 	at cg.a(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):6) W ConnectionTracker: 	at lu.A(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):10) W ConnectionTracker: 	at lf.a(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):3) W ConnectionTracker: 	at dz.run(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):3) W ConnectionTracker: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458) W ConnectionTracker: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) W ConnectionTracker: 	at ja.run(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-0):6) W QtThread: type=1400 audit(0.0:3345): avc: denied { ioctl } for path="socket:[640053]" dev="sockfs" ino=640053 ioctlcmd=8b07 scontext=u:r:untrusted_app:s0:c184,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c184,c257,c512,c768 tclass=netlink_route_socket permissive=0 W QtThread: type=1400 audit(0.0:3348): avc: denied { ioctl } for path="socket:[640053]" dev="sockfs" ino=640053 ioctlcmd=8b07 scontext=u:r:untrusted_app:s0:c184,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c184,c257,c512,c768 tclass=netlink_route_socket permissive=0
Banner not showing. Should I upload a banner before showing? If yes, how? If not, why doesn't it showing?

I try run program with test google ads and the program works correctly. Banners are displayed.
I Ads : Ad failed to load : 0
This is what google says
"It could be that you have only recently created a new Ad Unit ID and requesting for live ads. It could take a few hours for ads to start getting served if that is that case. If you are receiving test ads then your implementation is fine. Just wait a few hours and see if you are able to receive live ads then. If not, can send us your Ad Unit ID for us to look into."


kserve python library doesn't use environment variable KSERVE_LOGLEVEL

/kind bug
What steps did you take and what happened:
Define environment variable KSERVE_LOGLEVEL in custom model server as DEBUG.
kserve only logs INFO and above.
What did you expect to happen:
kserve should log DEBUG and above.
What's the InferenceService yaml:
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  name: inference-service
spec:
  predictor:
    containers:
      - image: inferenceservice-image-tag
        env:
          - name: KSERVE_LOGLEVEL
            value: 'DEBUG'

Anything else you would like to add:
kserve internal code doesn't use KSERVE_LOGLEVEL (as defined in kserve.constants).
A small change to the following line of code can add support for this environment variable:
logging.basicConfig(level=kserve.constants.KSERVE_LOGLEVEL)

Fixed in https://github.com/kserve/kserve/pull/2884


Use paket.exe instead of Paket.Core

This project uses Paket.Core to perform paket operations. This means we always have to create a new Paket.VisualStudio release for every paket release. And even worse: users have to constantly upgrade the addin.
In atom we use a different way. We always restore the latest paket.exe and use it as a separate process. This works like a Charme.

+1

When you perform this switch, please keep users behind a password-protected corporate proxy in mind. If this extension starts to require unrestricted internet access, it becomes useless for us. And that would be very sad.

@jbaehr perhaps it could be bundled with the latest version of the extension - or have the ability to specify the path to paket.exe?

I'm fine with both options.

+1.
To workaround unrestricted internet access, there could be a setting to force to get paket.exe from nuget. (using a corporate nuget server - with credential support).

This setting is effectively there already. In paket.bootstrapper.exe.config you can specify the NugetSource as well as the PaketVersion. This is exactly what we need and use via msbuild (paket.targets). It would be awesome if the VS extension for paket would use the very same process to acquire paket.exe.
Another benefit of using the solution-local paket.exe would be some protection against breaking changes. Right now we cannot use the latest version of the extension as this one uses paket-5 internally. Some of our solutions are still depending on paket-4 and at least the paket.lock format slightly changed.

I think this ticket can be closed, right?


Card not showing up on the Dashboard

I'm probably missing something here, but the Sun card seems to be properly installed in HACS, but I still can't find it when trying to add a new card on lovelace.

Everything is updated and running on the most recent versions, no significant errors in the logs and I already rebooted several times after install.

I can´t find the suncard either.
giving up troubleshooting now.

Same problem here. Got to the same point, restarted thrice and nothing.

same issue here

I solved my issue by deleting the cache in the browser. For Chrome it's hitting Ctrl+F5 ;)


Update FreeBSD installation package

The FreeBSD package for asciinema was updated to Python 3.7

Should this be merged to master instead?

Thanks! I'll merge to develop now, and prepare a new release in master shortly.


Link Error on OSX for FilePath.remove

OS X 10.9.5 (13F1134) most of my system is based on an up-to-date brew installation.  Not sure what other bits of info you need.
use "files"

actor Main
  new create(env: Env) =>
    try
      let tmp = FilePath(env.root, "/tmp/foo")
      tmp.mkdir()
      tmp.remove()
    end

$ ./build/debug/ponyc --debug /tmp && ./tmp
Building /tmp -> /private/tmp
Building builtin -> /Users/fowles/dev/ponyc/packages/builtin
Building files -> /Users/fowles/dev/ponyc/packages/files
Building ponytest -> /Users/fowles/dev/ponyc/packages/ponytest
Building time -> /Users/fowles/dev/ponyc/packages/time
Building collections -> /Users/fowles/dev/ponyc/packages/collections
Building regex -> /Users/fowles/dev/ponyc/packages/regex
Building capsicum -> /Users/fowles/dev/ponyc/packages/capsicum
Generating
Writing ./tmp.o
Linking ./tmp
Undefined symbols for architecture x86_64:
  "_openat", referenced from:
      _files_Directory_entries in tmp.o
  "_fdopendir", referenced from:
      _files_Directory_entries in tmp.o
ld: symbol(s) not found for architecture x86_64
unable to link

This is fixed by https://github.com/fowles/ponyc/commit/7f26ff2acff308275e022e9577267ff2021e1bbc but I am in the midst of a bunch of things and don't have the patience to extract it at the moment.

We currently use openat for all non-Windows platforms. Unfortunately it seems this call was only introduced to OS X on version 10.10. The fix suggested by @fowles above i to use opendir on OS X instead.
Assigning to @sylvanc, as the designer of the relevant API and OS X user, to get his opinion.

Oops. My fault. Fixed and pushed.


Don't init desired width/height on new_view

When creating a new view, wlc usually returns an initial visible geometry with
size 1x1. Setting those values as desired width/height causes a problem
for some windows (QT5) because they don't request a new geometry for
instance when made floating, so the floating window becomes 1x1.
To fix this problem we can just omit setting the desired width/height on
new_view and instead let the clients request a certain size if they feel
like it. e.i. gnome-calculator.
Fix #578
I have also included a related patch that just updates the geometry of a single floating window instead of the entire workspace on view_geometry_request, eliminating redundant updates in the layout.

LGTM. Will merge on passing build.


init cli improvements: check the current version of RNmacOS, other display tweaks

Please select one of the following

[x] I am making a fix / change for the macOS implementation of react-native

Summary
This PR introduces the following changes to the react-native-macos-init script:

check the currently installed version of react-native-macos, skip installation if it is latest available version
refactor getReactNativeVersion to the getPackageVersion (more generalised)
utilize verbose flag in react-native-macos installation exec
store package names in the constants
update and simplify display aspect of the script (printPkg method for pretty-printing packages and other tweaks), update colors (this can be easily changed now):

package name changed from the green to the yellow
prerelease warning uses yellow background instead yellow text

printError function which prints decorated error messages (red + bold)
punctuation marks in CLI messages, ellipsis instead of three dots (my code OCD 😉)

Since the changes above has not been request (and some of them apply only for those who are upgrading) I can understand if there will be a lot of review feedback and request for the changes but I'm happy to work further on those improvements and bring this PR to the more meaningful state.
In the future PRs I want to adjust the display and processes inside local-cli too, for example changed file prompts (leave or replace).
In a long term it will be nice if react-native-macos-init can also handle or at least help with the upgrading existing  project which already is using the RN macOS to the latest version.
Changelog
[Internal] [Added] - [init] Check the currently installed version of react-native-macos, skip installation if it is latest
[Internal] [Changed] - [init] Utilize verbose flag in react-native-macos installation exec
Test Plan
I have tested those changes locally by linking working copy of the react-native-macos-init package in the test macOS app.
Preview
Successful init:

Successful init (skip installation):

Decorated errors:

Microsoft Reviewers: Open in CodeFlow

CI fail looks like not related to this PR:
Failing tests:
	RNTester-macOSIntegrationTests:
		-[RNTesterLoadAllPages JSResponderHandlerExample]

** TEST FAILED **

##[error]Error: /usr/bin/xcodebuild failed with return code: 65

The current failure in the CI just means you need to run yarn change from packages/react-native-macos-init and fill out the prompts. It will write a change log file that will trigger beachball to publish a new version of the package to npmjs.org.

@tom-un I have pushed the generated file, hope I have done this right.

One thing that I'm not sure is if execOptions ( and stdio) can be removed since flags are responsible for handling verbose? Only two minor changes for me testing this were:

temporary visible installation progress (Yarn)
warning word is yellow at the beginning of the peerDependency warning (see screenshot above) (Yarn).

There was an issue in the PR and publish YAML scripts when invoking beachball.   It was fixed with https://github.com/microsoft/react-native-macos/pull/374.   Please merge master into your branch and the CI issue should be resolved.


access for project management page to owner and project_admin only closes #43

Coverage remained the same at 100.0% when pulling 8b427e706e647fd3450ba80b5130a1ac50faa2d6 on admin-edit-#43 into 209b7f5f7ef5753b2c400a89b431ef1003a8d621 on develop.


merging of different timeseries?

I don't understand https://github.com/raintank/graphite-raintank/commit/0d2534960a25bd3078967b93e46daa0f979ee203
specifically this part:
        logger.debug('fetch_from_tank', url=url, status_code=resp.status_code, body=resp.text)
        dataMap = {}
        for result in resp.json():
            path = pathMap[result['Target']]
            if path in dataMap:
                #we need to merge the datapoints.
                dataMap[path].extend(result['Datapoints'])
                # sort by timestamp
                dataMap[path].sort(key=lambda x: x[1])
            else:
                dataMap[path] = result['Datapoints']
        return dataMap

if 2 series are returned with the same name but different points, should we really create 1 series that is basically both series appended to each other?

Yes.  This happens when an endpoint is deleted and new one created with the same name.  So the series name is the same, but the metric ID is different (because there is an endpoint_id tag).  So though there are two series, there is no overlap in datapoints.

right, makes sense. and it's ok for there to be a gap in between the two series? i guess that's also taken care of by the null-filling logic in https://github.com/raintank/graphite-raintank/blob/master/graphite_raintank.py#L196-L238

While we have plans to remove the endpoint_id from the metric tags, and instead use the endpoint name or slug, we also want to add the "interval" to be part of the metric.Id, so that changes in the metric interval result in a new series being created.  When querying, we would still need to handle the scenario of there being more then 1 metricIndex result for a specific series name.


chore: release 1.1.1

:robot: I have created a release *beep* *boop*
1.1.1 (2019-06-13)
Bug Fixes

docs: move to new client docs URL (#239) (59a89d9)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-text-to-speech/releases/tag/v1.1.1

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


[CodeCompletion] Mark types that can’t be used as attributes as having an invalid type relation when used after '@'

When completing after @, record what kind of attributes are applicable here (property wrapper, result builder, global actor), mark types that are marked as property wrapper etc. as having a 'Convertible' type relation and mark all other types as having an 'Invalid' type relation.
rdar://78239501

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


impl Muljubjub::ExtendedPoint for jubjub::Fr and upstream.

So we can reverse this to match the math in the spec / general scalar mult notation convention.
impl From<ProofAuthorizingKey> for NullifierDerivingKey {

    fn from(nsk: ProofAuthorizingKey) -> Self {
        let generator_point = zcash_h();

        Self(jubjub::AffinePoint::from(generator_point * nsk.0))
    }
}

@dconnolly does this belong in the "Transaction Validation" milestone?

I keep coming across this issue and I'm not sure if this is something that needs to be done before NU5 testnet activation... @dconnolly can you help me understand? :)

I keep coming across this issue and I'm not sure if this is something that needs to be done before NU5 testnet activation... @dconnolly can you help me understand? :)

This is not required for NU5, this is a nice-to-have

This is a purely nice-to-have and I don't care much about it anymore so closing


transitionTo and redirectWith throwing Invariant Violation

Here's my route setup:
<Route name="admin" path="/admin" handler={Admin}>
	<Route name='login' handler={AdminIndex}/>
	<Route name="dashboard" handler={AdminDashboard} />
</Route>

function _getAdminState() {
	if(UserStore.isAuthenticated()) {
		this.replaceWith('/admin/dashboard');
	}
	return {
		isAdmin : UserStore.isAuthenticated()
	};
}

//SubRoute of Admin
var AdminIndex = React.createClass({
	mixins : [Router.Navigation],

	getInitialState : function(){
		return _getAdminState.apply(this);
	},
	_loginUser : function(creds){
		UserActions.adminLogin(creds);
	},

	_onChange : function() {
		this.setState(_getAdminState.apply(this));
	},
	componentDidMount: function() {
		UserStore.addChangeListener(this._onChange);
	},
	componentWillUnmount: function() {
		UserStore.removeChangeListener(this._onChange);
	},

	render : function () {
		console.debug('isAdmin', this.state.isAdmin);
		return (

Admin Dashboard

				<LoginForm loginUser={this._loginUser}/>

		);
	}
});

When I'm on /admin/login, I have a submit login function that if success, this.transitionTo('/admin/dashboard').  I keep getting the below error however.  I've tried using the auth-flow example, but it's still giving me this error.   Any ideas?
Uncaught Error: Invariant Violation: findComponentRoot(..., .<IP_ADDRESS>.<IP_ADDRESS>.0): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a
 when using tables, nesting tags like <form>,
, or , or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID ``.

UPDATE:  I should also add that after login (where an async request is made) and the transition, the next route runs an async request to get data from a server.  This error is only happening when I try to dispatch an action when the server comes back with a response.

@mwq27
wow.. you save my life, thank you so much!

@mwq27 could you please elaborate on what was the root cause and how u solved it.

This is for an extremely old version of Router. Much of the solution does not apply any more.