Server bundle skip sourcemap generation

Versions

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.0
Node: 8.11.1
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps
https://github.com/glebmachine/angular6-no-sourcemaps
Steps to reproduce:

git clone git@github.com:glebmachine/angular6-no-sourcemaps.git
cd angular6-no-sourcemaps
yarn
ng run learn-angular6:server

P.S. Repro based on this story: https://github.com/angular/angular-cli/wiki/stories-universal-rendering
Architect server has "sourceMap": true
Observed behavior
I've run building server bundle with sourceMap:true, but no sourcemap produced
Desired behavior
I would like to have sourcemaps in server bundle like i have in browser bundle
Mention any other details that might be useful (optional)
I experiencing this issue about half a year.

Great! Thank you guys)


import esbuild fails on risc-v

Describe the bug
Using a standard (npm create vite@latest) vite (vue, typescript) fails building on risc-v in docker, esbuild in theory provides risc-v compatibility as far as I am aware.
    "typescript": "^5.0.4",
    "vite": "^4.3.5",
    "vue-tsc": "^1.6.5"

#0 3.025
#0 19.59 file:///app/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:9
#0 19.59 import esbuild, { transform as transform$2, formatMessages, build as build$3 } from 'esbuild';
#0 19.59                                                             ^^^^^
#0 19.59 SyntaxError: Named export 'build' not found. The requested module 'esbuild' is a CommonJS module, which may not support all module.exports as named exports.
#0 19.59 CommonJS modules can always be imported via the default export, for example using:
#0 19.59
#0 19.59 import pkg from 'esbuild';
#0 19.59 const { transform: transform$2, formatMessages, build: build$3 } = pkg;
#0 19.59
#0 19.59     at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
#0 19.59     at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
#0 19.59
#0 19.59 Node.js v18.15.0

Reproduction
see steps
Steps to reproduce
very sorry, its not as easy to provide as there isn't a widely available docker image for nodejs on risc-v
using vue, typescript
npm create vite@latest
add Dockerfile:
FROM thepiwo/node:18-debian-unstable #using experimental risc-v nodejs build source at https://github.com/thepiwo/riscv/blob/main/node/Dockerfile

WORKDIR /app

COPY package.json .

RUN npm i

COPY . .

RUN npm run build

needs multiarch setup docker run --rm --privileged multiarch/qemu-user-static --reset -p yes && docker buildx create --driver docker-container --use && docker buildx inspect --bootstrap
docker buildx build --platform linux/amd64,linux/arm64,linux/riscv64 --pull .
System Info
#9 9.765   System:
#9 9.765     OS: Linux 6.3 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
#9 9.765     CPU: (32) riscv64 unknown
#9 9.765     Memory: 11.01 GB / 31.26 GB
#9 9.765     Container: Yes
#9 9.765     Shell: 5.2.15 - /bin/bash
#9 9.765   Binaries:
#9 9.765     Node: 18.15.0 - /usr/local/bin/node
#9 9.765     Yarn: 1.22.19 - /usr/local/bin/yarn
#9 9.765     npm: 9.5.0 - /usr/local/bin/npm
#9 9.765   npmPackages:
#9 9.765     @vitejs/plugin-vue: ^4.2.3 => 4.2.3
#9 9.765     vite: ^4.3.5 => 4.3.5
#9 9.765

Used Package Manager
npm
Logs
#0 3.025
#0 19.59 file:///app/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:9
#0 19.59 import esbuild, { transform as transform$2, formatMessages, build as build$3 } from 'esbuild';
#0 19.59                                                             ^^^^^
#0 19.59 SyntaxError: Named export 'build' not found. The requested module 'esbuild' is a CommonJS module, which may not support all module.exports as named exports.
#0 19.59 CommonJS modules can always be imported via the default export, for example using:
#0 19.59
#0 19.59 import pkg from 'esbuild';
#0 19.59 const { transform: transform$2, formatMessages, build: build$3 } = pkg;
#0 19.59
#0 19.59     at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
#0 19.59     at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
#0 19.59
#0 19.59 Node.js v18.15.0

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I know this is a very experimental setup, I'm not 100% sure the issue is with vite, but esbuild seems to provide a risc-v executable: https://www.npmjs.com/package/@esbuild/linux-riscv64

The same issue also happens outside the custom docker setup, but then only reproduceable using risc-v hardware, e.g. using
https://ubuntu.com/download/risc-v on StarFive VisionFive 2
sudo apt-get install nodejs npm node 18, npm 9
npm create vite@latest
npm i
npm run build


actor state store cannot be used in redis-cluster

Redis does not support transaction rollbacks and should not be used in production as an actor state store.

We are aware of this and are not recommending the usage of Redis as actor state store. See dapr/components-contrib#2071
In local development, use SQLite!

thx


Add support for variable prf hash

RFC5246(TLS1.2) allows new cipher suites to define their own PRF and
associated hash function(if applicable)[1]. All of the cipher suites we
support use a P_hash based PRF, so we only need to specify the hash algorithm.
Protocol versions < TLS1.2 use a hardcoded PRF. What if we negotiate TLS1.2
and select a cipher suite defined before TLS1.2? Ex: TLS1.2 with
TLS_RSA_WITH_3DES_EDE_CBC_SHA selected. RFC5246 states that "This PRF with the
SHA-256 hash function is used for all cipher suites defined in this document
and in TLS documents published prior to this document when TLS 1.2 is negotiated."
[1] https://tools.ietf.org/html/rfc5246#section-5

Left a verbose commit message because I was confused about which PRF is used for different combinations of protocol version and cipher suite. Figured it might help others.

Previously we weren't able to negotiate ECDHE-RSA-AES256-GCM-SHA384 because we hardcoded SHA256 for the prf hash algorithm.
# Connecting process
soco% /usr/local/Cellar/openssl/1.0.2h_1/bin/openssl s_client -connect <IP_ADDRESS>:8888 -cipher "ECDHE-RSA-AES256-GCM-SHA384" -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify return:1
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:failed in SSLv3 read finished A
140735236350032:error:140790E5:SSL routines:ssl23_write:ssl handshake failure:s23_lib.c:177:

# Listening process
soco% git checkout master
soco% make
soco% DYLD_LIBRARY_PATH=`pwd`/lib/ ./bin/s2nd <IP_ADDRESS> 8888
Listening on <IP_ADDRESS>:8888
Failed to negotiate: 'error decrypting data' -1

After:
# Listening process
soco% git checkout variable_prf
soco% make
soco% DYLD_LIBRARY_PATH=`pwd`/lib/ ./bin/s2nd <IP_ADDRESS> 8888
Listening on <IP_ADDRESS>:8888
Client hello version: 33
Client protocol version: 33
Server protocol version: 33
Actual protocol version: 33
Cipher negotiated: ECDHE-RSA-AES256-GCM-SHA384

# Connecting process
soco% /usr/local/Cellar/openssl/1.0.2h_1/bin/openssl s_client -connect <IP_ADDRESS>:8888 -cipher "ECDHE-RSA-AES256-GCM-SHA384" -state
f45c89a6a0bf% /usr/local/Cellar/openssl/1.0.2h_1/bin/openssl s_client -connect <IP_ADDRESS>:8888 -cipher "ECDHE-RSA-AES256-GCM-SHA384" -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify return:1
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
...

Unrelated to this change, but should we bother computing a SHA384 of the handshake data when we know the cipher suite doesn't care? I think we know from the client hello. Never spotted that optimization before.

Added a commit to fix negotiation for TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384. A bit tangential to this change, but not really worth opening a new PR for.
Before:
# Listening process
soco% git checkout 6388ae6
soco% make && cd bin && DYLD_LIBRARY_PATH=../lib ./s2nd <IP_ADDRESS> 8888
Listening on <IP_ADDRESS>:8888
Failed to negotiate: 'NULL pointer encountered' -1

# Client process
soco% openssl s_client -connect <IP_ADDRESS>:8888 -cipher "ECDHE-RSA-AES256-SHA384" -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify return:1
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data

^C

After:
# Listening process
soco% git checkout 7a68141
soco% make && cd bin && DYLD_LIBRARY_PATH=../lib ./s2nd <IP_ADDRESS> 8888
Listening on <IP_ADDRESS>:8888
Client hello version: 33
Client protocol version: 33
Server protocol version: 33
Actual protocol version: 33
Cipher negotiated: ECDHE-RSA-AES256-SHA384

# Client process
soco% openssl s_client -connect <IP_ADDRESS>:8888 -cipher "ECDHE-RSA-AES256-SHA384" -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = localhost
verify return:1
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
---
Certificate chain
 0 s:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost
   i:/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIDLjCCAhYCCQDL1lr6N8/gvzANBgkqhkiG9w0BAQUFADBZMQswCQYDVQQGEwJB
VTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0
cyBQdHkgTHRkMRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMTQwNTEwMTcwODIzWhcN
MjQwNTA3MTcwODIzWjBZMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0
ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRIwEAYDVQQDEwls
b2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIltaUmHg+
G7Ida2XCtEQx1YeWDX41U2zBKbY0lT+auXf81cT3dYTdfJblb+v4CTWaGNofogcz
ebm8B2/OF9F+WWkKAJhKsTPAE7/SNAdi4Eqv4FfNbWKkGb4xacxxb4PH2XP9V3Ch
J6lMSI3V68FmEf4kcEN14V8vufIC5HE/LT4gCPDJ4UfUUbAgEhSebT6r/KFYB5T3
AeDc1VdnaaRblrP6KwM45vTs0Ii09/YrlzBxaTPMjLGCKa8JMv8PW2R0U9WCqHmz
BH+W3Q9xPrfhCInm4JWob8WgM1NuiYuzFB0CNaQcdMS7h0aZEAVnayhQ96/Padpj
KNE0Lur9nUxbAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAGRV71uRt/1dADsMD9fg
JvzW89jFAN87hXCRhTWxfXhYMzknxJ5WMb2JAlaMc/gTpiDiQBkbvB+iJe5AepgQ
WbyxPJNtSlA9GfKBz1INR5cFsOL27VrBoMYHMaolveeslc1AW2HfBtXWXeWSEF7F
QNgye8ZDPNzeSWSI0VyK2762wsTgTuUhHAaJ45660eX57+e8IvaM7xOEfBPDKYtU
0a28ZuhvSr2akJtGCwcs2J6rs6I+rV84UktDxFC9LUezBo8D9FkMPLoPKKNH1dXR
6LO8GOkqWUrhPIEmfy9KYes3q2ZX6svk4rwBtommHRv30kPxnnU1YXt52Ri+XczO
wEs=
-----END CERTIFICATE-----
subject=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost
issuer=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost
---
No client certificate CA names sent
Peer signing digest: SHA1
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 1334 bytes and written 322 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-SHA384
    Session-ID:
    Session-ID-ctx:
    Master-Key: 5DA796553550F9F13822281982A1168D6E20ACE2FF88060B2C6459BD6E82D55F45BD46E2019E829CA5D37242A241C822
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---


Moving values into fortify macro

I have started using this crate for a project. So far it has been going great. However, I ran into an issue needing to move a value into the fortify! macro.
The following code does not compile:
use fortify::{fortify, Fortify, WithLifetime};

#[derive(WithLifetime)]
pub struct I32<'a> {
    foo: &'a i32,
}

pub fn create<'a>(foo: i32) -> Fortify<I32<'a>> {
    fortify! {
        let foo = foo;
        yield I32 { foo: &foo };
    }
}

This can probably be fixed by changing the closure and async block to move blocks. However, this might be a breaking change. I have worked around this issue by manually writing the macros contents and changing the blocks to move blocks.

Fixed by changing the macro to use move closures. This is indeed a breaking change, but it's much easier to turn moves into borrows than vice versa. We're early enough in the project that getting things right is more important than keeping things stable.
This will be in the 0.3.0 release in a day or two.


Need to build new container image

Hi @pditommaso , we need to build a new version 1.3 and push it to quay.io.
Version 1.2 is broken due to the Dockerfile update with micromamba, which initially had no PATH update.
I have already bumped the version here: https://github.com/nextflow-io/rnaseq-nf/blob/master/docker/Makefile
So it is just a matter of running the Makefile; if you want to give me admin access to quay.io/nextflow I can do it (I am marcodelapierre there as well), or otherwise I will leave it to you

Yeah, I noticed that 1.2 is also missing ps, which leads to issues running it with Tower-

The push refers to repository [quay.io/nextflow/rnaseq-nf]
3fd35ef02eda: Preparing
61b7068cf278: Preparing
503e642d5ebf: Preparing
c3957bc87975: Preparing
5f70bf18a086: Preparing
0eb428f50e73: Waiting
65734c4ecb14: Waiting
5ed208d0a888: Waiting
9f170dfecb6d: Waiting
16dea3230ded: Waiting
cb4596cc1454: Waiting
denied: System is currently read-only. Pulls will succeed but all write operations are currently suspended.

This! 👆

This looks like a Quay issue.
Maybe some server maintenance going on on their end?

Indeed, they had some maintenance activity. Solved via afbdd46b


1.3.6 release note

Issue #, if available:
Description of changes:
CheckList:

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Angie-Zhang @deshsidd the kotlin upgrade from 1.4.0 to 1.6.10 causes the build failures.
Do we really need to upgrade the kotlin version?
we only need to force upgrade jackson & snakeyaml versions. https://github.com/opensearch-project/index-management/pull/537

@Angie-Zhang @deshsidd the kotlin upgrade from 1.4.0 to 1.6.10 causes the build failures.
Do we really need to upgrade the kotlin version?
we only need to force upgrade jackson & snakeyaml versions. created a sample pr: #537

Thanks @sbcd90 ! I don’t think we need to upgrade the Kotlin version. Let’s fix the DCO and security checks and merge the new PR.


Add x86 (32-bit) tests

Hi @freakboy3742 !
These tests currently fail because of an actual 32-bit correctness bug in rubicon-java.
I propose we merge these tests before we fix the 32-bit correctness bug so that we can see it fixes the tests. :)
Let me know what you think.

@freakboy3742 ready for your review :) Consider using GitHub's squash merge, since there are a million commits here and we only really need them combined into one.


Error within the source code

Compiling gives QDir error even with the necessary packages installed.
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

Already up to date.
vibrantLinux.pro:9: Unknown test function: greaterThan
WARNING: Found potential symbol conflict of entryeditor.cpp (src/entryeditor.cpp) in SOURCES
WARNING: Found potential symbol conflict of entryeditor.h (include/entryeditor.h) in HEADERS
WARNING: Found potential symbol conflict of mainwindow.cpp (src/mainwindow.cpp) in SOURCES
WARNING: Found potential symbol conflict of mainwindow.h (include/mainwindow.h) in HEADERS
Makefile:203: warning: overriding recipe for target 'entryeditor.o'
Makefile:170: warning: ignoring old recipe for target 'entryeditor.o'
Makefile:206: warning: overriding recipe for target 'mainwindow.o'
Makefile:182: warning: ignoring old recipe for target 'mainwindow.o'
Makefile:225: warning: overriding recipe for target 'moc_entryeditor.o'
Makefile:213: warning: ignoring old recipe for target 'moc_entryeditor.o'
Makefile:233: warning: overriding recipe for target 'moc_mainwindow.o'
Makefile:221: warning: ignoring old recipe for target 'moc_mainwindow.o'
/usr/lib64/qt-3.3/bin/uic forms/entryeditor.ui -o forms/entryeditor.h
/usr/lib64/qt-3.3/bin/uic forms/mainwindow.ui -o forms/mainwindow.h
g++ -c -pipe -Wall -W -O2 -flto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing  -DQT_DEPRECATED_WARNINGS -DVIBRANT_LINUX_VERSION=\\\"2.1.2\\\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I"include/" -I/usr/lib64/qt-3.3/include -o autostart.o src/autostart.cpp
<command-line>: warning: missing terminating " character
In file included from src/autostart.cpp:1:
include/autostart.h:4:10: fatal error: QDir: No such file or directory
    4 | #include <QDir>
      |          ^~~~~~
compilation terminated.
make: *** [Makefile:158: autostart.o] Error 1
rm: cannot remove '*.o': No such file or directory
rm: cannot remove '*.h': No such file or directory
rm: cannot remove '*.cpp': No such file or directory```

Hi! First of all: the repo you found here is just a fork of the real repo found at https://github.com/zee-mzha/vibrantLinux. That means that the codebase here might not be up to date in contrast to upstream.
Now to your problem: Apparently you have Qt 3.3 installed (Looking at /usr/lib64/qt-3.3/bin/uic forms/entryeditor.ui -o forms/entryeditor.h). This tool needs Qt 5 (which is much much newer than Qt 3), which is why the compilation probably fails. May I ask what distro you are using?

Ok. I'm sorry, but I am still quite new to Linux... how do I install this, then? I am using an AMD RX 5700 XT. Besides, I do have Qt 5 installed; rpm -qa | grep qt gives me this output:
adwaita-qt5-1.1.3-4.fc33.x86_64
qt5-qtx11extras-5.15.1-1.fc33.x86_64
qt5-qtdeclarative-5.15.1-1.fc33.x86_64
qt5-qtwayland-5.15.1-1.fc33.x86_64
qt5-qtxmlpatterns-5.15.1-1.fc33.x86_64
qt5-qtbase-common-5.15.1-7.fc33.noarch
qt5-qtbase-5.15.1-7.fc33.x86_64
qt5-qtbase-gui-5.15.1-7.fc33.x86_64
qca-qt5-ossl-2.3.1-2.fc33.x86_64
qca-qt5-2.3.1-2.fc33.x86_64
qt5-qtgraphicaleffects-5.15.1-1.fc33.x86_64
qt5-qtquickcontrols2-5.15.1-1.fc33.x86_64
qt5-qtcharts-5.15.1-1.fc33.x86_64
polkit-qt5-1-0.113.0-5.fc33.x86_64
qt5-srpm-macros-5.15.1-1.fc33.noarch
qt5-qtsvg-5.15.1-1.fc33.x86_64
qt5-rpm-macros-5.15.1-1.fc33.noarch
qt5-qtbase-devel-5.15.1-7.fc33.x86_64
qt5-qttools-common-5.15.1-1.fc33.noarch
qt5-qttools-libs-designer-5.15.1-1.fc33.x86_64
qt5-qttools-libs-designercomponents-5.15.1-1.fc33.x86_64
qt5-linguist-5.15.1-1.fc33.x86_64
qt5-qttools-libs-help-5.15.1-1.fc33.x86_64
qt5-qtscript-5.15.1-1.fc33.x86_64
qt5-qtquickcontrols-5.15.1-1.fc33.x86_64
qt5-qtbase-5.15.1-7.fc33.i686
qt5-qtbase-gui-5.15.1-7.fc33.i686
qt5-qtbase-devel-5.15.1-7.fc33.i686
qt5-qtdeclarative-5.15.1-1.fc33.i686
qt5-qttools-libs-designer-5.15.1-1.fc33.i686
qt5-qttools-libs-designercomponents-5.15.1-1.fc33.i686
qt5-qtquickcontrols-5.15.1-1.fc33.i686
qt5-qtscript-5.15.1-1.fc33.i686
qt5-qttools-libs-help-5.15.1-1.fc33.i686
mingw64-qt5-qmake-5.14.2-5.fc33.x86_64
mingw32-qt5-qmake-5.14.2-5.fc33.x86_64
qt5pas-2.6-2001004.fc33.x86_64

Okay it seems as if Fedora (33) packages the "qmake" binary of Qt5 as qmake-qt5. The update.sh first looks for qmake and if that does not exist it looks for qmake-qt5. But on your system both exist, which is why it chooses qmake. Apparently the qmake present on your system is for Qt3 which is (as I mentioned earlier) pretty old. So you could modify the script to use qmake-qt5 anyways or somehow get rid of that old Qt version


"pac admin list" doesn't list all environments (Default is excluded from that list)

The command doesn't list the Default environment, so can that be explicitly called out - "All environments except Default."

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

ID: 488078c6-838d-1722-114e-4eb64d94aa0d
Version Independent ID: 488078c6-838d-1722-114e-4eb64d94aa0d
Content: Microsoft Power Platform CLI admin command group - Power Platform
Content Source: power-platform/developer/cli/reference/admin.md
Service: power-platform
Sub-service: developer
GitHub Login: @kkanakas
Microsoft Alias: kartikka

Thanks for your comment, @davins-msft. This issue has been assigned to the doc author for review.

@davins-msft
When I run this command in an environment where I am the tenant administrator, I see the Default environment.
Are you running this against the Microsoft Tenant? Are you the tenant administrator?
@kkanakas, depending on what @davins-msft  response is, it looks like there could be opportunity to improve the description here. It seems like there may be some filtering that is applied based on some other factors?

@JimDaly @kkanakas: It is a tenant created from CDX (https://cdx.transform.microsoft.com/)
The environments view (in ppac) by logging in as Global Administrator (MOD Administrator).

The auth profile created for CLI is of MOD Administrator who is Global Administrator.
The default environment doesn't get listed below:

@davins-msft
Let's take this offline.


cannot have cflags in two spots without breaking the concretizer

https://github.com/LLNL/benchpark/blob/b3e09e637a8043f2fb051b83de3e0b2af67f4f05/experiments/stream/openmp/ramble.yaml#L44
and
https://github.com/LLNL/benchpark/blob/b3e09e637a8043f2fb051b83de3e0b2af67f4f05/configs/RCCS-Fugaku-Fujitsu-A64FX-TofuD/auxiliary_software_files/compilers.yaml#L34
==> *******************************************
==> ********** Running Spack Command **********
==> **     command: /vol0005/mdt3/data/ra000020/u10016/benchpark.llvm/test/spack/bin/spack concretize
==> **     with args: ['-U', '-f']
==> *******************************************
==>
==> Error: Internal Spack error: the solver completed but produced specs that do not satisfy the request.
	Unsatisfied input specs:
	Input spec: stream<EMAIL_ADDRESS>cflags='-mcmodel=large' fflags='-mcmodel=large' +openmp ntimes=20 stream_array_size=80000000
	Candidate spec: stream<EMAIL_ADDRESS>cflags='-msve-vector-bits=scalable -mcmodel=large' cxxflags='-msve-vector-bits=scalable' fflags='-mcmodel=large' ldflags='-fuse-ld=lld -lelf -ldl' +openmp build_system=makefile ntimes=20 offset=none stream_array_size=80000000 stream_type=none arch=linux-rhel8-a64fx ^[deptypes=build] gmake<EMAIL_ADDRESS>cflags='-msve-vector-bits=scalable' cxxflags='-msve-vector-bits=scalable' ldflags='-fuse-ld=lld -lelf -ldl' ~guile build_system=generic arch=linux-rhel8-a64fx
==> Error: Command exited with status 1:
    '/vol0005/mdt3/data/ra000020/u10016/benchpark.llvm/test/spack/bin/spack' 'concretize' '-U' '-f'
==> Error: Error running spack command: /vol0005/mdt3/data/ra000020/u10016/benchpark.llvm/test/spack/bin/spack concretize -U -f

ps: i ran sed -i -e 's@cflags=".*"@cflags=-mcmodel=large fflags=-mcmodel=large@g' experiments/stream/openmp/ramble.yaml before doing the test, so the cflags in the error log and the cflags shown in the linked files are slightly different

This is recorded as https://github.com/spack/spack/issues/38664 in the Spack repository (the issue is in-progress)


fix(typo): sqite3 -> sqlite3

I believe this is a typo... Trying to build from master and use sqlite3 db.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

LGTM

great catch!!


Tabular: Fix crash when save path is absolute

Issue #, if available:
Description of changes:

If using an absolute path in predictor init, will crash upon load.

This PR fixes the obvious error so that the below script works, however the current fix is not a good idea long-term, as I have no idea if there will be edge-cases where it fails. I also don't know if it will work when using multiple disk drives in a single process.
The root of the issue is that StackerEnsembleModel does something it shouldn't: It has the absolute paths of both itself and its base models stored as variables. Therefore, in order to figure out where the base models are upon loading in a new location, it isn't sufficient to look at the old absolute paths, instead they need to be regenerated based on 1. the old absolute path, 2. the new path.
For example:
Model 1: `/abc/def/`
Model 2: `./foo/bar/`

# Model 1 where model 2 is a base model:
self.path_root = `/abc/def/`
self.base_model_paths_dict = {
    'model_2': './foo/bar/'
}

When loaded from a new location, this can cause issues. It worked in the past except for cross-os loading.
new_path = './new/location/'
new_model_2_path = ?????  # <------- This is the problem, hard to figure out the correct path

The solution is to either

Delete StackerEnsembleModel and have trainer deal with this (Ideal, but significant work)
Convert absolute paths to relative paths, or otherwise hack things to avoid the breaking situation (What I've done in this PR, but I don't like it. It probably fixes things, but hard to know for sure in all cases).
Bandaid solution by try/except on the path conversion: If can't convert because absolute, assume same machine and continue (will crash if cross-OS and absolute path was used during fit).

Reproducible Example:
from autogluon.tabular import TabularPredictor, TabularDataset

if __name__ == '__main__':
    data_root = 'https://autogluon.s3.amazonaws.com/datasets/Inc/'
    train_data = TabularDataset(data_root + 'train.csv')
    train_data = train_data.sample(500)
    test_data = TabularDataset(data_root + 'test.csv')

    predictor = TabularPredictor(
        label='class',
        path='/tmp/tmpfe_o0p7g/',
    ).fit(
        train_data=train_data,
        hyperparameters={'DUMMY': {}},
        fit_weighted_ensemble=False,
        num_bag_folds=2,
        num_bag_sets=1,
    )
    predictor.persist_models('best')
    predictor.leaderboard(test_data)

Exception:
    assert not PathConverter._is_absolute(path), "It is ambiguous on how to convert an absolute path. Please provide a relative path instead"
AssertionError: It is ambiguous on how to convert an absolute path. Please provide a relative path instead

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

this bug is still happening as of now, if you run this code from a .ipynb on a different drive d:
predictor = TabularPredictor(
    label=label,
    path='I:/Checkpoints/AutogluonModels/',
).fit(
    train_data,
    presets="high_quality"
)

you will get:
autogluon\core\models\ensemble\stacker_ensemble_model.py:86
self.base_model_paths_dict = {key: os.path.relpath(val, self.path) for key, val in base_model_paths_dict.items()}
File <frozen ntpath>:791, in relpath(path, start)
ValueError: path is on mount 'd:', start on mount 'I:'

this bug is still happening as of now, if you run this code from a .ipynb on a different drive d:
predictor = TabularPredictor(
    label=label,
    path='I:/Checkpoints/AutogluonModels/',
).fit(
    train_data,
    presets="high_quality"
)

you will get: autogluon\core\models\ensemble\stacker_ensemble_model.py:86 self.base_model_paths_dict = {key: os.path.relpath(val, self.path) for key, val in base_model_paths_dict.items()} File <frozen ntpath>:791, in relpath(path, start) ValueError: path is on mount 'd:', start on mount 'I:'

can we maybe not use relpath()? and simply replace that line with self.base_model_paths_dict = {key: val for key, val in base_model_paths_dict.items()}?


Number input

Follow-up from https://github.com/patternfly-yew/patternfly-yew/pull/103.
Don't merge this until the PF-Yew version has been bumped and this PR isn't pointing at my fork.

Merged that manually via cherry-pick.


[Bug]: Unclear documentation how to configure PublicKey resources since v1.5.0

I'm assuming the fact that I used compositions is completely irrelevant but I haven't tested directly applying the MR.
It is currently unclear how a PublicKey (and Function but haven't used those) resource should be configured. The examples do not show the required initProvider.encodedKeySecretRef field and resources do not pass validation due to that field missing.
A side comment is that I don't really understand why initProvider fields would be required in the first place. The current documentation states:

The initProvider defines settings Crossplane applies only when creating a new managed resource.
Crossplane ignores settings defined in the initProvider field that change after creation.

This is fairly clear. What isn't so clear is how a resource whose sole purpose is to store an encryption key will behave if I have to set that key via an initProvider field.
If this is an actual requirement and not a bug introduced by accident then the documentation could use some additional clarification and the examples could be enhanced as well.
Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)

cloudfront.aws.upbound.io/v1beta1 - PublicKey
cloudfront.aws.upbound.io/v1beta1 - Function

Resource MRs required to reproduce the bug
Used go templating composition
---
apiVersion: cloudfront.aws.upbound.io/v1beta1
kind: PublicKey
metadata:
  name: {{ $name }}
  annotations:
    gotemplating.fn.crossplane.io/composition-resource-name: publickey
spec:
  deletionPolicy: Delete
  forProvider:
    name: {{ $name }}
    region: {{ $xr.spec.aws.region }}
    encodedKeySecretRef:
      namespace: {{ index $claim.spec.claimRef "namespace" }}
      key: {{ $xr.spec.aws.encodedKey.key }}
      name: {{ $xr.spec.aws.encodedKey.name }}

Steps to Reproduce

Apply composition that tries to create a PublicKey resource

What happened?

composition fails

Relevant Error Output Snippet
cannot compose resources: cannot apply composed resource "publickey": PublicKey.cloudfront.aws.upbound.io "redacted" is invalid: [spec.initProvider.encodedKeySecretRef: Required value, <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]

### Crossplane Version

1.14.3

### Provider Version

1.6.1

### Kubernetes Version

1.26

### Kubernetes Distribution

EKS

### Additional Info

/fresh


Using variables is no longer possible

It is no longer possible to pipe variables to the image tag as described in #62
I have a site I am making for a musician. He has a bunch of albums that I have in a collection. Albums have cover art that I would like to display.
{% for album in site.albums %}
  {{ album.cover | image }}
{% endfor %}

This used to work in Jekyll-assets 1.0, but now it will simply return the text contained in the album.cover variable without running it through the image tag. How can we use variables in Jekyll-assets 2.0?

Going to close this in favor of #165.  The beta currently doesn't have filters but it will once I have time to prepare for the final release coming with Jekyll 3.  It shouldn't be too long but I'm splitting my time across several projects right to prepare.


the_answer_to_life

display of the_answer_to_life in https://formal-methods-mpi.github.io/Workshop.jl/stable/5_additional/extensive-foundations/ changes to italiccized 'answer' without underscores - don't know how to 'escape' symboles so didn't make a pull request for this


docs: correct typo in comment

Using a sessionId as number, it causes the following error in peg$parsetemplate:
input.charCodeAt is not a function

Fixes #277

@googlebot I signed it!

@googlebot I fixed it.

@googlebot I consent.

@alexander-fenster @xiaozhenliu-gg5  👋 this seems like potentially a bug with the generated client.

Thanks @vernig - it's indeed a bug (arguably if it's a bug in samples or in the processing code :) ) We can accept this fix, but I just sent https://github.com/googleapis/gax-nodejs/pull/756 to let the processing code accept numbers (so in the next version, both 123 and '123' will work).


googletest should not be a dev_dependency on the MODULE.bazel

Following the instructions on the Quickstart with Bazel page, users are told to add "@com_google_fuzztest//fuzztest:fuzztest_gtest_main" as a dependency to the cc_test rule. That target depends on @com_google_googletest, which is not available when fuzztest is not the root module, as it is marked as a dev_dependency. This causes builds to fail.

Thanks! Should be fixed with https://github.com/google/fuzztest/commit/394595fbd31d95e6f25b7c1a4d98b93886a36371.

That's great, thank you! Will a new version be published to the BCR?


LCacheTest: Convert to PSR-2

Coverage remained the same at 100.0% when pulling 77fae99554a59ed8b64ab989a0a4a661a9e9c7ad on tests-psr-2 into 07d07014930e341c221c60a7e7e20c87280df77f on master.


Seemingly wrong texture content when exported by Asset Manager

I did several successive exports of the texture base.tga in DATA\ENV\PRODUCTION\DLC\BSPNOSTROMO_TWOTEAMS\RENDERABLE\LEVEL_TEXTURES.ALL.PAK. The first export of base.tga was good, ie with alpha and colour (see attached file  but successive exports are totally blank (flat #ffffff on the whole image see :
 ).
I have not managed to find a consistent scenario to reproduce the bug and export this specific texture correctly.

As far as I can tell, base.tga.dds is just a white texture that's 484 bytes in size. I'm not sure how you achieved the results in the attached file, but it appears like that file is incorrect.
I've just tried exporting using the DDS/PNG/JPG options on BSPNostromoTwoTeams and have run in to no issues 🤔


Remove execute permission

These files have no need to be executable.

@tricknotes hey sorry for the late replly. This is a good change, but unfortunately conflicts. Can you try rebasing master? Or if there's too many conflicts force push?

now rebased.

@fivetanley Is this OK?

Thanks @tricknotes.


Abort running payment

Hi,
great project! Is it possible to abort a running payment?
If not, can you give a hint how to implement?
br

I am pretty sure that once the payment has been initiated, you have to wait for a result or a timeout.
From the ZVT spec:

"Depending on the implementation of the PT, transaction steps and other actions within the PT may be aborted if pre-defined states have not been reached."

So I would not recommend on relying to being able to abort specific commands.

Yes i think you can:
Create a Button in main.cs
`
private void btnAbort_Click(object sender, EventArgs e) {
try {
Cursor.Current = Cursors.WaitCursor;
            var result = _ZvtCommunication.MakeAbort();

            Log(result);

        } catch (Exception ex) {
            Log(ex);
        } finally {
            Cursor.Current = Cursors.Default;
        }
    }

`
Create a CommandResult function in ZvtCommunication.cs
`
//Erkan
public CommandResult MakeAbort() {
try {
_ZvtEnvironment.RaiseAskCloseConnection() ;
var result = _ZvtEnvironment.CreateAbortCommand(null).Execute();
return result;
		} catch (ConnectionTimeOutException e) {
			Debug.WriteLine(e.Message);
			return null;
		}
	}

`
Open AbortCommand.cs and go " public override CommandResult Execute()" function and comment the 2 line (RaiseAskOpenConnection)
`
public override CommandResult Execute()
{
try {
Console.WriteLine("Executing Abort Command");
CommandResult result = new CommandResult();
result.Success = true;
            ////ERKAN  : Mevcut bir Connection var, neden Tekrar aciyoz ki?
            //if(_environment.RaiseAskOpenConnection())
            //    _transport.OpenConnection();

            ApduCollection apdus = _commandTransmitter.TransmitAPDU(_apdu);
            CheckForAbortApdu(result, apdus);
            result.PrintDocuments = _commandTransmitter.PrintDocuments;
            return result;
        }
        finally

......
.......
......
`
Now you must evertime click following buttons:

new CreateInterface
RegisterAsync
yourAboutBtn


Improvement - custom version formatter

Should be done in a way like the custom filter is supported: https://github.com/MFlisar/changelog/blob/master/lib/src/main/java/com/michaelflisar/changelog/classes/ChangelogFilter.java

define interface - IAutoVersionNameFormatter
write a default implementation that's like the current function
add the element to the builder and set the interface instance to the default implementation
add setter to the builder

small further adjustments may be necessary...

done


Enable web view customization for interactive authN

Context:
Azure PowerShell relies on the Azure Identity library to use MSAL. Currently, we're required to customize the web view displayed after authentication, which requires the Azure Identity library to open new properties that are already supported by MSAL.
The primary scenario to enable here is to expose an option to control whether the embedded or system browser will be invoked.

see .NET PR for an example: https://github.com/Azure/azure-sdk-for-net/pull/34095

The JS impl is currently blocked on an MSAL regression, so moving this out 2-months.  @KarishmaGhiya / @mpodwysocki please link to the corresponding tracking MSAL github issue, and let's work with them to get us unblocked for an upcoming monthly release.


Validation Errors

Hi,
I've installed the latest version into sandbox and it is working fine when used to count the number of active Contacts I have associated with an Account, however when I write a Validation Rule to limit the number of Contacts (in this instance 8) I get the following error message:
Upsert failed. First exception on row 4; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, dlrs_ContactTrigger: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0 with id 001L0000006U4gjIAC; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Too many active contacts: [] (dlrs) Trigger.dlrs_ContactTrigger: line 7, column 1: []
Error is in expression '{!ave}' in component apex:commandButton in page dynamiccontact: Class.addAttendee.ave: line 28, column 1
An unexpected error has occurred. Your development organization has been notified.
Do you have any idea what this could be? If you need any further information then please let me know.
Regards
Craig

It seems your validation rule is firing 'Too many active contacts' is present in the message your getting, are you saying its firing incorrectly?

Hi Andrew,
Thanks for getting back to me. The validation message is correct - it's all of the other text surrounding it that I don't understand (and would like to get rid of!)
Regards
Craig

I see, have had a look at the try/catch feature in Apex programming language, you can catch the exception and call the getMessage method. Or you can catch the DMLException and this class has some more specific methods on it that may give just the message text. Sadly though due the error being raised while being inside another peace of Apex code in another trigger, this tends to be the way the platform surfaces the text. The only thing if the above methods don't work, is to do a try/catch and parse the text out yourself. I'm sorry i'm not able to give more programming details on try/catch, DMLException methods etc at the moment.

Hi Andy,
Our consulting partner is receiving a similar error regarding the contact trigger as related to their custom contact rollup fields:
First error: Update failed. First exception on row 0 with id 003o000000OvxdCAAR; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, dlrs_ContactTrigger: execution of AfterUpdate
caused by: System.NoAccessException: Entity is not api accessible
Our consultant requested that we adjust this trigger to run in a batch at a different interval of theirs (twice daily 12am and 11am) instead of (before delete, before insert, before update, after delete, after insert, after undelete, after update). It is their opinion that the trigger is making our roll up jobs unable to calculate. Am I able to adjust this?
Here https://na17.salesforce.com/003o000000XnQBv?srPos=0&srKp=003 is an example of a contact record with a field that is failing to update correctly; the particular fields are "Last Gift Amount" and "Date of Last Gift". The fields are just calculating incorrectly at the moment, I've also attached a screenshot of where the fields are located on the layout.

Let me know if this can be adjusted or if this issue is a product of any custom installations by our consulting partner.
Thank you!
Devan Larson
Pacific Science Center

This appears to be a different error and not associated with this original post, same child object yes, but different in other regards. It hard for me to comment as to whats causing the error without more information, can you give a screenshot of your rollup definition and the steps that result in this error.

Can you also do this on a new GitHub issue please. Thank you.

will do, new issue here: https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/319
thanks


Modify clean_sheel.bat and init_shell.bat

Last version of mongodb is 3.6, so i changed the default version of it.
Moreover, I add the comments to advert to change the location or version as user want.

@devFallingstar Your commit needs to be signed. Please generate another PR from a signed commit.
See "EdgeX GitHub Getting Started" here:
https://wiki.edgexfoundry.org/display/FA/Committing+Code+Guidelines
"The -s option used for both alternatives causes a committer signed-off-by line to be appended to the end of the commit message body."


: Add Anonymous login

What kind of change does this PR introduce?
Fixes #504.
Follows https://github.com/supabase/auth-js/blob/f131300d753634fcf3fbc93dc7a762031f096749/src/GoTrueClient.ts#L370-401
With new types as well
Feedback welcomed.

I knew I should have checked PRs before spending my day doing one. I just worked on this yesterday to now see your PR. I will get this reviewed and merged in soon.

Sorry about that 🙏


Added '_id' field to the returned user object in response.

Hi,
This update adds the user's ID to a successful login/signup response.
This field will be used for some client-side operations.

No merging conflicts on this end. Accepting merge request.


chore(hapi): fix typings rename

@helfer this should fix the master branch which got broken because of the typings change.
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/f20d1e1c2c8811b1db46a3cc2f082f30e4503c7c
this is the commit of the breaking change.

Thanks for the fix, Hagai!


Preserve original context

Calling original function in the context of a function is useless, we'd much better preserve original context.
This will also fix this: https://github.com/twistdigital/es6-promisify/issues/5

Hey -- sorry for the delay. This is awesome, but could you rework it to pass JSLint and re-submit?  Happy to merge in after that.  Thanks.

Done that. Also added jslint into pretest so that it couldn't be overlooked.


control the note type during import

Hi Conor,
is there a chance, to control to which note type the remote decks are imported to?
In my case, I want to import it to type "basic (and reversed card)"
Thanks! :)

Hey!
Yes there is actually and it already works. Apologies I will update the documentation to include how to do it!

Hey @c-okelly, i just wanted to check, if you already managed to update the documentation for controlling the target note type? I recently checked, found some common updates in the docu, but not yet anything about the note type.
Thanks a lot.
Cheers!

Hey @kolmberger,
I'm currently away at the moment so had not got around to doing it! I will be back tomorrow.
In the mean time I will just but the docs below. You need to make sure note type is exactly the same as in the Anki application.
This would set the note to a basic and reversed type:
* Question line
# type = Basic (and reversed card)
    * Answer line

This would set the note to a Cloze
* When was Dublin founded {{c1::1204}}
# type=Cloze
    * Extra Info

Much appreciated! Thanks

Also if you are interested there is some more experimental docs on this page:
org_to_anki docs
It "should" all work. Though I def do not support the multi level decks correctly yet!

Updated in 8a2500f


oauth2 and ingress changes

By the way, do we still need to add new installations to karma? If not, maybe we should also document it when we do.
Good point. If we have new installations, we need to add them. I'll add some docs around that.


refactor(manager): use "Branch" as the return type of "Draft.commit"

Task linked: CU-2hdpu6r Draft.commit 返回值类型由 Commit 修改为 Branch


Plunker project for ng2-dnd

If I want to create a plunker(http://plnkr.co) project for   ng2-dnd
what is the ng2-dnd src path I have to select there is no online plugin available in plnkr for dnd ?
any help will be appreciated!!

I have created the project on Plunker. It is based on SystemJS. Is this suitable for you?

Hi akserg,
Yes, It's  resolved my issue!!. I was missing that mapping in the config file thank you cheers :)


When I use xx or xx during a multiline assignment, there will be an indentation of 8 bytes.

Is this a feature? I've tried several configurations about alignment but couldn't turn it off.
test code:

after format:

config(in lua_ls)
                  format = {
                      enable = true,
                      defaultConfig = {
                          indent_style = 'space',
                          indent_size = '4',
                          quote_style = 'double',
                          align_call_args = 'false',
                          align_function_params = 'false',
                          align_continuous_assign_statement = 'false',
                          align_continuous_rect_table_field = 'false',
                          align_array_table = 'true',
                      },
                  },

This is most likely a bug


Add a certificate with the TLSFeature extension specified by rfc 7633.

As per issue #17

Publicly-trusted certificate is now online on https://must-staple.serverhello.com

Nice. :-)
PRs like this are still annoying to merge unless I have a real cert; @marumari I don't recall anymoer; were you poking Richard for a badssl.com one?

I think you actually just needed to submit a CSR anytime starting Monday to Comodo.

What about this PR? When will it get merged?
Let's Encrypt now supports OCSP Must-Staple.
I cannot reach https://must-staple-no-ocsp.serverhello.com and https://must-staple.serverhello.com.
I also cannot reach https://serverhello.com/ at all.


feat: add custom User-Agent to Hermes queries

Closes: #3979
Description

Adding custom User-Agent for all queries done via HttpClient (except for tests) by building HttpClient and providing it with a User-Agent header.
Here's now what's happening in Nginx logs on my node when I do hermes health-check:
<IP> - - [03/Jun/2024:15:50:48 +0200] "POST / HTTP/1.1" 200 1144 "-" "hermes/1.8.3"
<IP> - - [03/Jun/2024:15:50:49 +0200] "POST / HTTP/1.1" 200 73 "-" "hermes/1.8.3"
<IP> - - [03/Jun/2024:15:50:49 +0200] "POST / HTTP/1.1" 200 1144 "-" "hermes/1.8.3"
<IP> - - [03/Jun/2024:15:50:49 +0200] "POST / HTTP/1.1" 200 1144 "-" "hermes/1.8.3"
<IP> - - [03/Jun/2024:15:50:49 +0200] "POST / HTTP/1.1" 200 324 "-" "hermes/1.8.3"
<IP> - - [03/Jun/2024:15:50:50 +0200] "POST / HTTP/1.1"<PHONE_NUMBER> "-" "hermes/1.8.3"

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

@romac can you look at that?


Pyk RPC prover not interpreting K funcitonal claims as equality proofs

Currently, we are using kprove --dry-run --emit-json ... to read in specifications for the pyk RPC prover. This is good because we get access to the parser, but it also makes it so that we are not able to tell whether something is a functional claim or not. For functional claims, we want to build equality predicates instead, and simplify those to #Top. Currently, instead it discharges them like reachability queries (which is more similar to an implication check than a conditional equality check).
I'm not sure if this can be fixed without modifying the frontend. For example, we made need to add an argument to kprove --dry-run --emit-json ... that says: --no-infer-k-cell ..., which leaves a given proof alone if there is no K cell attached to it.
I need to inspect the generated JSON more to determine if the frontend is adding this inferred K cell or not.

Now that https://github.com/runtimeverification/k/pull/3812 is merged, is there work here that needs to be done to integrate it?

We need to change pyk's invocation of kprove for extracting claims to always use this option: https://github.com/runtimeverification/pyk/blob/eb583c8275258537e0f6bba1f46e2a2c2bbfa6c9/src/pyk/ktool/kprove.py#L332 (and thread that option through the various places needed in the KProve class linked there).
We need to unrevert the reverts to KEVM which were done here: https://github.com/runtimeverification/evm-semantics/pull/2197. These changes originally removed the runLemma => doneLemma style proofs, thinking that it would turn on EqualityProof usage, but because K was inferring <k> cell automatically, it did not have that effect. So when this change was introduced to K, it started building EqualityProof instead (this logic here and here), and it turns out that those EqualityProof were not passing, because they are discharged differently than reachability proofs. So those need to be debugged.


ERROR CourseCollectionsJson and CourseTopicUrlsList Urls are not equal

Can't download this course: Machine learning system design
Error message: ERROR - StartScraper - start: 20: ExtensionScraper:start: 52: ExtensionScraper:scrapeCourse: 80: CourseCollectionsJson and CourseTopicUrlsList Urls are not equal
Diagnostic: This course has 2 assessments which makes the topicApiUrlList different than topicUrlsList where topicUrlsList contains two more assessment urls.

Full logs:
2023-12-06 06:31:56,083 - INFO - StartScraper - StartScraper Initiated...
To Terminate, Click on Stop ScraperType Button
2023-12-06 06:31:56,110 - INFO - ExtensionScraper - ExtensionScraper initiated...
2023-12-06 06:31:56,111 - INFO - ExtensionScraper - Started Scraping from Text File URL: https://www.educative.io/module/page/lOn30BIA1wV52NDAg/10370001/4516577454325760/5827538912018432?showContent=true
2023-12-06 06:31:56,112 - INFO - BrowserUtility - Loading Browser...
2023-12-06 06:31:58,641 - INFO - BrowserUtility - Browser Initiated
2023-12-06 06:32:01,954 - INFO - ApiUtility - Course Type Selector: a[href*='/module/']
2023-12-06 06:32:01,996 - INFO - ApiUtility - Getting Next Data
2023-12-06 06:32:02,032 - INFO - ApiUtility - Getting Course Topic URLs List from URL: https://www.educative.io/module/lOn30BIA1wV52NDAg/10370001/4516577454325760?showContent=true
2023-12-06 06:32:04,913 - INFO - ApiUtility - Course URL Selector: //a[contains(@href, 'module/page/lOn30BIA1wV52NDAg/10370001/4516577454325760/')]
2023-12-06 06:32:04,920 - INFO - LoginAccount - Checking if logged in...
2023-12-06 06:32:04,937 - INFO - ApiUtility - Getting Course Collections JSON from URL: https://educative.io/api/collection/10370001/4516577454325760?work_type=collection
2023-12-06 06:32:04,938 - INFO - ApiUtility - Executing JS to get JSON from URL
2023-12-06 06:32:05,781 - INFO - ExtensionScraper - API Urls: 21 == 23 :Topic Urls
2023-12-06 06:33:18,790 - ERROR - StartScraper - start: 20: ExtensionScraper:start: 52: ExtensionScraper:scrapeCourse: 80: CourseCollectionsJson and CourseTopicUrlsList Urls are not equal
2023-12-06 06:41:12,753 - INFO - StartScraper - StartScraper Initiated...
To Terminate, Click on Stop ScraperType Button

@anhpho checking  the issue

@anhpho fixed in latest commit, please do git pull for new changes

thanks you @anilabhadatta!

Closing this issue


For Object arrays: may be infer the JSON format and let user choose what entry to display

For a large object arrays, it can be useful for user to display particular entries from all object array indices.
For example if the JSON file is as follows:
[
  {
    "name": "LINUX Unplugged Jupiter Broadcasting",
    "website": "https://www.jupiterbroadcasting.com/show/linux-unplugged/",
    "YouTube": null,
    "dDownloadRP": null,
    "feed": "https://feeds.jupiterbroadcasting.com/lup",
    "author": null,
    "tag": [
      "computer",
      "Linux",
      "software"
    ],
    "comment": [],
    "description": null,
    "automatic_download": false,
    "subscription": true,
    "starred": false,
    "timestamp": {
      "add": "2024-04-28",
      "star": null
    }
  },
  {
    "name": "Looking For Modi with Avani Dias - ABC listen",
    "website": "https://www.abc.net.au/listen/programs/looking-for-modi",
    "YouTube": null,
    "dDownloadRP": null,
    "feed": null,
    "author": null,
    "tag": [
      "India",
      "politics"
    ],
    "comment": [],
    "description": null,
    "automatic_download": false,
    "subscription": true,
    "starred": false,
    "timestamp": {
      "add": "2024-04-28",
      "star": null
    }
  }
]

The GUI can let user select which entries to display, and if user selects: name and tag only that particular data is displayed.

That's a good idea. Maybe it will be in the next release that I'm planning


Added code_challenge to login URL

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Any update on this? I am pretty waiting for this to be merged.


Missing lexical expression

When issuing /Patient?identifier1%7C2&_revinclude=Coverage:subscriber the following error pops up:
HAPI-0389: Failed to call access method: java.lang.NullPointerException: Cannot invoke \"ca.uhn.fhir.federator.FhirUrlParser$DContext.getText()\" because the return value of \"ca.uhn.fhir.federator.FhirUrlParser$PContext.d()\" is null"   } ] }

When I look at the search statement:
Patient?identifier1|2&_revinclude=Coverage:subscriber
I see that the statement is not valid, because identifier1|2 is an unknown parameter. The solution according to the standard can be found here: https://www.hl7.org/fhir/search.html#errors
Todo:

catch parser error, and locate the problem (find out it happens on the level of the parameter)
check the Prefer header
take appropriate action, i.e. ignore the parameter, or send an error, depending on 2

🤦♂- I totally missed the missing '='

@jkiddo No, your remark was justified, the error should be properly handled.


Add flag to print resolved dependency tree

It would be helpful to be able to see the result of:
https://github.com/elm-lang/elm-make/blob/b73a26c52a7dbc17cab0fec26ea11fe0d3624b68/src/Pipeline/Crawl.hs#L36
The specific use case is for working with file watchers to know when to invoke a new compilation.

Tracking from meta issue #98


fix: add stack memory at _VAR_vp to pass the address of vp while recu…

…rsing
fix #128

This also fixes #128.


Image deployment

You can test this out by going to the pi, into the "build_service" directory and running "python3 build-service.py https://github.com/plim1025/linux_tweet_app -b master". Doesn't currently work in pipenv due to config file pathing being off.

Is there a way that we can perform a restart/delete/update deployments? To me it seems that we are only able to create a deployment.
It might be nice to include restart/delete/update functionalities to the deployments if that's not already the case.
Maybe we can retrofit this for those functionalities?
https://github.com/kubernetes-client/python/blob/master/examples/deployment_crud.py

 GHP / K8S Deployment: Image handoff

now rebased on main w/ merged #3


🐛(back) force to save the starting live state on the start action

Purpose
The start live endpoint can be very long. It has to create a complete AWS medialive and mediapackage stack. Once created, the medialive channel is started. Between the creation and the effective start we have to wait few seconds that the medialive channel is ready to be started. In the dashboard, we can't wait this time if there are several instructors on the page. We have to inform them as soon as possible that the live is starting. In a first implementation, we changed the live_state to starting, this clone object was dispatched in the webasocket and then all the AWS work was made. If something fails or in the same time, the video object is modified and then dispatch in the websocket, the starting live_state is lost and the start button is display again in the interface. To avoid this issue, the live_state is saved in database using an atmoic transaction and tollback to its initial value if something went wrong during the creation or start action on the AWS stack.
Proposal
Description...

[x] force to save the starting live state on the start action

@qbey an idea of improvement can be to remove the usage of self.get_object() in this endpoint and use select_for_update instead to set a lock on the row.

I forgot to answer about the select_for_update but yes, I guess for this endpoint you probably want to prevent concurrency calls.
Returning a specific queryset with select_for_update for this action can do the job, because I guess we never want to only "read data" on this endpoint. Also if you use a select_for_update you will have to make the transaction broader.
Also a a final note, I think maybe the logic here should not be directly in the API but in some other "business logic" module, this would simplify the use of transaction.atomic as it may spare an indentation level.


2 more organizations

https://ethereum.foundation/
https://www.oasis-open.org/

Noted! thanks Lawrences! We'll update the dataset ASAP :)

thanks @LawrenceHecht for the reminder, the developer in charge of the website left and I am the one now 😅
I can confirm OASIS Open is there. Only Ethereum is missing. I promise I'll add it 😄

Added (and sorry for the almost-endless delay 😅)


Removing wait for job completed from packages E2E

#4044 Removes the one time job from the CLI, thus the packages E2E test also needs the check for completion removed.

/approve
/lgtm


[Unicode Symbols Search] Accessing the "Miscellaneous Technical" symbol

Extension
https://www.raycast.com/mmazzarolo/unicode-symbols
Description
I see in the version changelist that some Apple-specific symbols (, ⌘, ⌥, ⏎, ⌫) were added, but I can't seem to access them. What is the magical incantation to get the right search results for these?
Steps To Reproduce

M1 MacBook Pro using the newest version of Raycast (1.44.0)
While using the extension, typing "command" or "cmd"

note: only the Apple logo worked for me typing "Apple"
Current Behaviour
No results
Expected Behaviour
⌘ command line

⌘ is actually called PLACE OF INTEREST SIGN
⌥ should be searchable by OPTION KEY
We might be able to have something like aliases in the dataset where we can pass it to keywords - what do you think @mmazzarolo  / @FezVrasta

Brilliant. Thanks for taking this on. Nice improvement!

Thanks for the feedback; if you struggle to find anything, let me know 😊


pubsub: expire old processing time measurements

The pubsub client currently measures time between reception and ack of messages (processing time) in a percentile distribution. The 99%th value of this percentile distribution is used as the ack deadline for messages. This has the the positive effect of reducing the amount of modacks (used to send the ack deadline); a single modack with the right time for a message is better than many modacks with an incorrect arbitrarily low time.
Unfortunately, since we use the 99%th value, we effectively always take the ceiling (excluding extreme outliers - the remaining 1%). Furthermore, since we don't expire data, a very small amount of high values at some point in time will dominate any low values thereafter until the total number of data points is so high as to push the high values into the 1%.
A simple solution to this downside is to expire recordings after a period of time. I think that 6 hours is a good starting place for how much data to hold on to.

This is not as simple as it seems because we use com.google.api.gax.core.Distribution to compute the 99th percentile, and as far as I know, this class does not provide any way to expire old recordings.
However, since this bug was opened, we added a new setting maxDurationPerAckExtension, which is the maximum ack deadline that will be used when sending an individual modack RPC. You should be able to use this setting to ensure computed deadlines are not greater than the specified value.


Feat: To make the settings page

Describe the feature
In the setting the user will have option to change the current password, profile visibility and he can download the profile data.
Add ScreenShots

Record

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

@huamanraj Please assign this issue to me

@ayush-848 assigned

@ayush-848 assigned

@RitiChandak it will not be a level 1 PR
will it get updated based on my work???

yup


Ubuntu error (Again)

After change to cmake, the same problem fixed in this commit has back!
https://github.com/clever-lang/clever/commit/946a264f235cb50e9db4a3d9fc53ba7d4dda7e35
Any one can help on it?
cya!

Here the problem was with libpcrecpp. It's the same for you?
I've commited some changes to CMakeList.txt (https://github.com/rgsilva/clever/commit/e5b41a23f7cf507e43d5586a0333252fe4928128) Please remove the cmake cache (CMakeCache.txt), run cmake and make again. If it doesn't work, please run
make VERBOSE=y

and paste the results (with errors) here.

Fixed by @rgsilva


doris flink connector do not support flink 1.13, refactor doris sink format， not use GenericRowData. use RowData::FieldGetter

…fixed it。
Proposed changes
doris sink format， not use GenericRowData. use RowData::FieldGetter， …
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

https://github.com/apache/incubator-doris/issues/6624

LGTM

@xhmz Thanks for your PR.
@JNSimba Thanks for your review. And next time you can leave LGTM with "Approve" here:

So a yellow "reviewed" label will be automatically added

thanks all


2019 Version

Hi, I would like to try your library but I do not have access to the 2021 LabVIEW version.
Could you be so kind to save the project in 2019 version?
Appreciate your help.
Thank you.
Kind regards.

Saved project in LabVIEW 2018 (for legacy support) here:
LabVIEW-Hashlib LabVIEW 2018.zip


Desktop E2E Test: MM-T2633 Use back button to return to the desktop app login

This ticket is to create a test script to automate some testing for the Desktop App.
The testing framework makes use of a few frameworks to successfully automate Desktop App tasks:

Playwright: An E2E testing framework provided by Microsoft that currently has “experimental” support for Electron. Using Playwright, you can access individual BrowserWindows or BrowserViews and automate most functionality provided within those windows. You can also get access to the main Electron process and verify/check functionality in the main process. See here for docs: https://playwright.dev/docs/api/class-electron
RobotJS: A Node.JS Desktop Automation tool that allows us to arbitrary emulate mouse and keyboard inputs. This is used for automation around Electron keyboard shortcuts and the menu bar. It is useful to cover cases that aren’t automatable directly through Playwright (since the menu is not an HTML control). See here for docs: http://robotjs.io/docs/syntax

The test should be written in the file e2e/specs/mattermost/back_button.js
If the file doesn’t exist, feel free to create it.
If you’re looking for examples, see these PRs:
https://github.com/mattermost/desktop/pull/1841
https://github.com/mattermost/desktop/pull/1843
https://github.com/mattermost/desktop/pull/1846
The test script for this ticket is as follows:

Ensure the test config is using the Community Mattermost server (https://community.mattermost.com), and make sure the app opens on said server.
Click the OneLogin button on the login screen. Verify that the Back button appears at the top of the window.
Click the Back button. Verify that you’re taken back to the login screen.
Click the OneLogin button again, then click on one of the links at the bottom. Verify that the link opens in the same window.
Click Back twice. Verify that you’re taken back to the login screen.

Expected:
See above.

If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please  join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-39793

There may be a minor issue with this workflow, please see the screenshot attached
Steps to reproduce

Click on OnLogin button
Click on the back button
Observe that the back button is still present on the login screen.
The behaviour on clicking on the back button on the login screen also differs. Sometimes clicking on it just refreshes the login page and the back button disappears other times no effect is observed

cc @devinbinnie

There may be a minor issue with this workflow, please see the screenshot attached Steps to reproduce

Click on OnLogin button
Click on the back button
Observe that the back button is still present on the login screen.
The behaviour on clicking on the back button on the login screen also differs. Sometimes clicking on it just refreshes the login page and the back button disappears other times no effect is observed

@gpt14 I'm not able to reproduce what you're seeing using version 5.0.2. Are you using the same version?
If so, can you show me how you have your server configured?

Hi @devinbinnie I am running the server off of the latest pull from the master branch and running make run-server

@gpt14 Can you show me how you have the community server configured in the Desktop App?


test(query): unskip skipped PromQL transpiler end-to-end .flux tests

I'm assuming the fix for these tests is in the current version of flux?


:bug: fix propogation events have no data

Summary

Related issue(s)
https://issues.redhat.com/browse/ACM-12106
Fixes #

/lgtm

/retest


Popups don't respect canvas transform

Godot version: c7cef29b00430e01faceed396dbd9def1b7cb235
OS/device including version: Linux 64bit, Fedora 28
Issue description:
Popups are currently getting clipped to a rectangle defined by the origin position and the window size. This means that they don't work when using a Camera2D as the camera just sets the canvas transform, which is ignored by the Popup clipping
Steps to reproduce:

Create a Popup node inside a scene.
When calling the popup*() functions with valid UI content it should display on screen.
Create a Camera2D and move it completely outside of the window rectangle.
When calling the popup*() functions with valid UI content they get drawn offscreen, clipped to the window rectangle.

Minimal reproduction project:
popups_and_cameras.zip
Setting camera1 as current should show popup in center of screen.
Setting camera2 as current should show nothing.
Solution:
Change the popup functions to apply the inverse canvas transform set by a camera, and correctly clip the popup rectangle inside the visible region of the current camera.
Git patch to commit stated above:
camera_respecting_popups_patch.txt
Remark:
This is not intended as a finished solution, but to show a way how to implement this behaviour if it is wanted. The question is if current popup behaviour is intended.

I think that the current popup behavior is intended because you're supposed to manually change the canvas transform by putting all GUI nodes under a CanvasLayer.

Here is a modified version of your example that does this:
popups_and_cameras.zip

It's mentioned in the docs here

First of, that is in the tutorial not the the node docs, which still feels bad to me, as the documentation for a node should say what it does, while tutorials should say how to use them.
And secondly it is in the tutorial for canvasLayer which you don't know is relevant when using a popup or a camera, except that the Camera2D docs mention that you can make your own camera by manually setting the CanvasTransform of a viewport.
So while it is good that documentation exists (that can maybe be just referenced in the node docs), it still is hidden and requires a pretty long logical sequence for someone just wanting a popup to do what you'd think it would do (popup -> camera -> canvastransform -> canvaslayer -> canvaslayer tutorial).

The Camera2D moving doesn't just clip popups, it clips all canvas items, so it doesn't make sense to link that tutorial article to the popups docs. I think that the correct logical leaps would be (popup -> google gui nodes not following camera -> click on first result) as something specific like this is better suited to a Q/A response indexed by google.

No I meant, putting the information or the link to the tutorial in the
canvasLayer docs. Like I said, I feel that basic functionality of a Node
should be in the Node docs, not a tutorial.
The Camera2D docs could maybe be more explicit about changing the canvas
transform, but that seems fine.
But I don't agree at all that it is ok to require a (maybe fruitless) web
search for the popup case.
You'd expect both logically and from the Node description that the Popup
always works in screenspace.
As it is right now, the stated usage of Popup is incorrect in all cases
where you have a Camera (which is probably most games).
That is not something you should need to web search, there should be a big,
obvious point in the docs about using a CanvasLayer to make it work as
expected.
On Fri, 14 Dec 2018, 08:46 Cameron Reikes<EMAIL_ADDRESS>wrote:

The Camera2D moving doesn't just clip popups, it clips all canvas items,
so it doesn't make sense to link that tutorial article to the popups docs.
I think that the correct logical leaps would be (popup -> google gui nodes
not following camera -> click on first result) as something specific like
this is better suited to a Q/A response indexed by google.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/24309#issuecomment-447242851,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANKW3hUZUBQxOk5ZlpXYxrBNSre5oNS_ks5u41dPgaJpZM4ZQdb8
.

Where in the popup node description does it say that it shows up in the viewport no matter what the canvas transform is? Basic knowledge of how canvas items work should be necessary to read the docs, which is why it's in the tutorial.

My point is that it is a Popup.
The Popup node description for popup_centered, popup_centered_minsize and
popup_centered_ratio all say "Popup (show the control in modal form) in the
center of the screen [...]".
Note the word 'screen' here and again, this is about intention. When you
use a popup in any engine anywhere your intention is (pretty much) always
to have it show on screen.
The popup node does not work that way, which is absolutely
counter-intuitive and as such should be mentioned.
I don't want this to be about doc semantics or whatever, this is about user
intent:
There is a node called Popup.
If you use it normally it shows on your screen as expected.
If you add a camera it works as expected, as long as you are inside the
worldspace rect of window size.
if you leave that rect the popup gets clipped and eventually disappears
from the screen
That is never the user intent when using something called Popup.
So the fact that it behaves that way and the solution that makes it behave
as expected should be stated in the doc of the Node.
I don't see where the argument against is here if you design for the user
intent.
Needing the user to know about mathematical engine internals just to make
something behave as you want it to behave in 99.9% of all cases does not
seem to correspond to making this a powerful but user-friendly engine.
Am Fr., 14. Dez. 2018 um 11:12 Uhr schrieb Cameron Reikes <
<EMAIL_ADDRESS>
Where in the popup node description does it say that it shows up in the
viewport no matter what the canvas transform is? Basic knowledge of how
canvas items work should be necessary to read the docs, which is why it's
in the tutorial.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/24309#issuecomment-447279069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANKW3vF_EIZzmcOBkMzU6iQYec7bqxVEks5u43mfgaJpZM4ZQdb8
.

I see your point. I think that the docs should make it clear what those popup_* methods actually do. It should be noted that it only centers the popup in the screen relative to the current canvas transform, not absolutely in the center of the screen.

I've made changes to the XML class documentation in my branch here

Does #24408 satisfy the documentation changes needed to solve this issue?

I still dislike that the CanvasLayer , which is the only correct method to
use popup is not mentioned.
Popups should work in screen space, talking about canvas transform is just
a technical detail which should be mentioned, but not integral to the
function description.
But apparently I am alone with that opinion so this can be closed if
everyone else is statisfied.
On Mon, 17 Dec 2018, 08:45 Rémi Verschelde<EMAIL_ADDRESS>wrote:

Does #24408 https://github.com/godotengine/godot/pull/24408 satisfy the
documentation changes needed to solve this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/24309#issuecomment-447750979,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANKW3nDRATltPvP_Xef0Sjsb9l9FOuEIks5u50uJgaJpZM4ZQdb8
.


control_flow_test is failing on vulkan backend

The test started failing after #2509, and #2522 disabled the test: https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/control_flow_test.py
Seems that there is a runtime error issue: RuntimeError: Error invoking function: 8. Not sure if this is pyiree issue or vulkan runtime issue or others.
This issue is for tracking the failing test.

@phoenix-meadowlark and I looked into this one briefly yesterday
8 is IREE_STATUS_RESOURCE_EXHAUSTED: https://github.com/google/iree/blob/50d264b75f7e68d2af5c698a94daa70f586c5ee7/iree/base/api.h#L219
The error that was hit was here (from logs that aren't public >_>):
https://github.com/google/iree/blob/50d264b75f7e68d2af5c698a94daa70f586c5ee7/iree/hal/vulkan/timepoint_util.cc#L68-L75
That will happen with SwiftShader or this flag: https://github.com/google/iree/blob/50d264b75f7e68d2af5c698a94daa70f586c5ee7/iree/hal/vulkan/vulkan_device.cc#L45-L46
A workaround is to increase this value: https://github.com/google/iree/blob/50d264b75f7e68d2af5c698a94daa70f586c5ee7/iree/hal/vulkan/timepoint_util.h#L118-L120
Or we can change program behavior to require less outstanding fences (@antiagainst, ideas?)

That would indicate a bug - right now we literally only use the semaphores to wait and never overlap anything, so there should only ever be a single live fence at a time.

(semaphore created, submitted, and waited on here, then destroyed when the vm::ref goes out of scope) https://github.com/google/iree/blob/4c0a53e955c44480e2387a9d756a33f66830a394/iree/modules/hal/hal_module.cc#L141-L165

Okay I'll take a look. Thanks for reporting! :)


[SUPPORT]Exception in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/scala/table6

Tips before filing an issue

Have you gone through our FAQs? yes

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

  I can use the tool 'bin/spark-sql' to create the table successfully. However, when I program with Scala2.11 to run spark.sql, I face the problem about "Exception in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/scala/table6".
"table6" is exactly what I want to create through this sql text, I can run this sql text successfully by 'bin/spark-sql' method mentioned above. But programming with Scala fails it, and the Exception is convincing. What configuration do I miss?
To Reproduce
this is all dependency I use to program with Scala2.11.

org.apache.spark
spark-core_2.11
2.4.8

org.apache.spark
spark-sql_2.11
2.4.8

org.apache.hudi
hudi-spark-bundle_2.11
0.9.0

org.apache.spark
spark-avro_2.11
2.4.4

Steps to reproduce the behavior:

create sparkSession by:
"val spark = SparkSession.builder
.appName("spark sql")
.config("spark.serializer", "org.apache.spark.serializer.KryoSerializer")
.master("local[*]")
.getOrCreate();"
init sql text:
var create = "create table if not exists table6 (id int, name string, price double) using hudi location 'hdfs://localhost:9000/scala/table6' options (type='mor', primaryKey='id')"
run spark.sql(create)
meet the exception mentioned above

Expected behavior
I want to create the table, just like I use 'bin/spark-sql' with spark2.4.8 & hadoop2.7 & hudi 0.9.9 succussfully.
Environment Description

Hudi version : 0.9.0

Spark version : 2.4.8

Hive version : None

Hadoop version : 2.7

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : no

Additional context
Add any other context about the problem here.
Stacktrace
Exception in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/scala/table6
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1122)
at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114)
at org.apache.hudi.common.util.TablePathUtils.getTablePath(TablePathUtils.java:50)
at org.apache.hudi.DataSourceUtils.getTablePath(DataSourceUtils.java:74)
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:101)
at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:330)
at org.apache.spark.sql.execution.command.CreateDataSourceTableCommand.run(createDataSourceTables.scala:78)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.executeCollect(commands.scala:79)
at org.apache.spark.sql.Dataset$$anonfun$6.apply(Dataset.scala:194)
at org.apache.spark.sql.Dataset$$anonfun$6.apply(Dataset.scala:194)
at org.apache.spark.sql.Dataset$$anonfun$53.apply(Dataset.scala:3369)
at org.apache.spark.sql.execution.SQLExecution$$anonfun$withNewExecutionId$1.apply(SQLExecution.scala:80)
at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:127)
at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:75)
at org.apache.spark.sql.Dataset.org$apache$spark$sql$Dataset$$withAction(Dataset.scala:3368)
at org.apache.spark.sql.Dataset.(Dataset.scala:194)
at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:79)
at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:643)
at SparkSql$.runCreateTable(SparkSql.scala:58)
at SparkSql$.main(SparkSql.scala:22)
at SparkSql.main(SparkSql.scala)

scala
// No separate create table command required in spark. First batch of write to a table will create the table if not exists.

sorry, I got it wrong
add
.config("spark.sql.extensions", "org.apache.spark.sql.hudi.HoodieSparkSessionExtension")

sorry, I got it wrong add .config("spark.sql.extensions", "org.apache.spark.sql.hudi.HoodieSparkSessionExtension")

Thanks @Carl-Zhou-CN
@zztttt have you tried this suggestion?

sorry, I got it wrong add .config("spark.sql.extensions", "org.apache.spark.sql.hudi.HoodieSparkSessionExtension")

Thanks a lot! I have solve the problem I met a few days ago! However, I got a different exception.
The absolute path of the new project is /home/zzt/code/spark-debug, and the detail of the exception is the following:
Mon Nov 29 14:24:44 CST 2021 Thread[main,5,main] Cleanup action starting
java.sql.SQLException: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@73bcd9b4, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
.......
aused by: ERROR XJ040: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@73bcd9b4, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 100 more
Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /home/zzt/code/spark-debug/metastore_db.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
I can find this log in derby.log in the project path. The new SparkSession is build as below:
val spark = SparkSession.builder
.appName("Spark shell")
.enableHiveSupport()
.config("spark.serializer", "org.apache.spark.serializer.KryoSerializer")
.config("spark.sql.extensions", "org.apache.spark.sql.hudi.HoodieSparkSessionExtension")
.config("sparl.sql.catalogImplementation", "hive")
.config("spark.sql.warehouse.dir", "/home/zzt/code/spark-debug/spark-warehouse")
.master("local[*]")
.getOrCreate();
I open .enableHiveSupport() in the config part. Without this, the program works well. Is there any conflict?

sorry, I got it wrong add .config("spark.sql.extensions", "org.apache.spark.sql.hudi.HoodieSparkSessionExtension")

Thanks @Carl-Zhou-CN @zztttt have you tried this suggestion?

Thank you! I have tried this suggestion and fixed the problem. However, I met another problem, so I want to know what mistake I did...

Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /home/zzt/code/spark-debug/metastore_db.

guess you already have another instance of derby running, i.e. another spark-shell running and trying to write to hudi or something.

Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /home/zzt/code/spark-debug/metastore_db.

guess you already have another instance of derby running, i.e. another spark-shell running and trying to write to hudi or something.

Thanks for your help! I still meet this problem when I want to store the metadata in Hivemetastore by the derby database approach. I address this problem by using the relational database approach of Hivemetastore, and it really works several days ago.
I can ensure that there is only one sparkSession instance running in the project, and before I start the project, I delete the metadata_db directory every time, but this doesn't work. It's confusing so I use another storage backend instead.

hmmm, seems strange. if you got unblocked, can we close the ticket.

hmmm, seems strange. have you tried giving a diff warehouse dir?

yes, I have already tried to change the warehouse dir url, but it didn't works. Using remote metastore may be a better approach, and I have finished this but by add "spark.hadoop." prefix before hive configurations what is usually placed in hive-site.xml.

Sorry don't get you. do you say that you were able to get past the issue by prefixing "spark.hadoop" for hive configs ?

yes, I read the related documents: https://jaceklaskowski.gitbooks.io/mastering-spark-sql/content/spark-sql-hive-metastore.html and find a sentences saying "You can configure javax.jdo.option properties in hive-site.xml or using options with spark.hadoop prefix." ， then I can achieve the target.

awesome, thanks for letting us know. we didn't know you can prefix spark.hadoop and provide as spark configs. I will go ahead and close the github issue.


Refactor sequence_spec.rb to conform to Let's Not style

For reference:
https://thoughtbot.com/blog/lets-not
TL;DR- there is consensus within thoughtbot that RSpec's subject, before, and let features are over-used in the Ruby community, and result in relatively hard-to-read tests.
This is one of several PRs which in-lines many of the declarations previously made using the above idioms.

This file makes heavy use of shared examples, which (according to our blog post) is one of the few cases where syntax like subject makes sense.  I did manage to get rid of some of the its calls, fwiw.


Add support of data history

It is now possible to get the history of the data including the power
consumption.
For example:
$ ./pcomfortcloud.py -s $CONFORT_CLOUD_LOGIN $CONFORT_CLOUD_PASSWORD history 1 Week 20190808
energyConsumption        : 13.739999999999997
estimatedCost            : 0.0
deviceRegisterTime       : 20190802
currencyUnit             : €
historyDataList          :
    dataNumber           : 0
    consumption          : 0.6610000000000003
    cost                 : 0.0
    averageSettingTemp   : 28.5
    averageInsideTemp    : 26.52083396911621
    averageOutsideTemp   : 30.18181800842285

    dataNumber           : 1
    consumption          : 0.08200000000000002
    cost                 : 0.0
    averageSettingTemp   : 28.5
    averageInsideTemp    : 26.29166603088379
    averageOutsideTemp   : -255.0

    dataNumber           : 2
    consumption          : 2.4749999999999988
    cost                 : 0.0
    averageSettingTemp   : 28.38020896911621
    averageInsideTemp    : 25.95833396911621
    averageOutsideTemp   : 31.33333396911621

    dataNumber           : 3
    consumption          : 3.4229999999999987
    cost                 : 0.0
    averageSettingTemp   : 28.45833396911621
    averageInsideTemp    : 26.19791603088379
    averageOutsideTemp   : 32.49056625366211

    dataNumber           : 4
    consumption          : 1.5259999999999996
    cost                 : 0.0
    averageSettingTemp   : 28.50520896911621
    averageInsideTemp    : 25.82291603088379
    averageOutsideTemp   : 31.078947067260742

    dataNumber           : 5
    consumption          : 2.3829999999999987
    cost                 : 0.0
    averageSettingTemp   : 28.46354103088379
    averageInsideTemp    : 26.375
    averageOutsideTemp   : 32.129032135009766

    dataNumber           : 6
    consumption          : 3.19
    cost                 : 0.0
    averageSettingTemp   : 28.5
    averageInsideTemp    : 26.140625
    averageOutsideTemp   : 32.70588302612305

overall this looks great :-)

Slightly off-topic, but I have read by @lostfields that you do not get any data in the app since some months ago. Do you get data using this command? Just curious because I only got usage data and power consumption data the first 2 months.
I want to finally connect the app to Domoticz, I just found this code, so will start to test this weekend :) See if I can improve automation, because the app is not so great.

Slightly off-topic, but I have read by @lostfields that you do not get any data in the app since some months ago. Do you get data using this command? Just curious because I only got usage data and power consumption data the first 2 months.

No, I don't get any data except for the first month of installation and a period in may-june this year, nothing more. It's strange, I haven't tried a reset or anything though.

Slightly off-topic, but I have read by @lostfields that you do not get any data in the app since some months ago. Do you get data using this command? Just curious because I only got usage data and power consumption data the first 2 months.

No, I don't get any data except for the first month of installation and a period in may-june this year, nothing more. It's strange, I haven't tried a reset or anything though.

Thanks for your super fast reply. I have reached out to Panasonic, but they basically tell me it is a problem on my side. The strange part is that the app works, the connection is there, I can see temperature data, except it is not being stored in the historical data. Seems to me more a config issue on the server side.
However, domoticz will take care from now on.

the history command now uses _read_parameters() to allow possible conversion.
For now I just reuse the names given by Panasonic.

Updated to use _no_change.
I also prepared a small documentation. I don't know where to add it.
Format Day :

one entry per hour
from 0 to 23

Format Week :

one entry per day
from 0 to 6
the first value is always for Monday
so if the given date is not a Monday the data starts before the given date
example: 20190808 is a Thursday
The week is from 2019 08 05 (Monday) to 2019 08 11 (Sunday)

Format Month :

one entry per da
from 0 to 29 or 30 (or less for February)
the first value is for 1st day of the month
so if the given date is not a first day ot the month the data starts
before the given date
example: 20190808 will return the data for 2019 August

Note that the data returned for Week is a subset of the data returned for Month.
In both cases we have one record per day.

My previous patch broke the _read_parameters() function. Temperature fields (insideTemperature, outTemperature, temperatureSet) were not renamed.
It is now fixed.

I think they might have broken this again:
root@raspberrypi:/home/pi/python-panasonic-comfort-cloud# python pcomfortcloud.py  history 1 month 20191212
Traceback (most recent call last):
File "pcomfortcloud.py", line 5, in
main.main()
File "/home/pi/python-panasonic-comfort-cloud/pcomfortcloud/main.py", line 259, in main
print_result(session.history(device['id'], args.mode, args.date))
File "/home/pi/python-panasonic-comfort-cloud/pcomfortcloud/session.py", line 224, in history
raise Exception("Wrong mode parameter")
Exception: Wrong mode parameter

It works for me 😃
Try with Month instead of month.
./pcomfortcloud.py $CONFORT_CLOUD_LOGIN $CONFORT_CLOUD_PASSWORD history 1 Month 20191212

The value is defined at https://github.com/lostfields/python-panasonic-comfort-cloud/blob/master/pcomfortcloud/constants.py#L52

@LudovicRousseau whoops! Thanks for that!
Totally works for me, too! 👍


app.json: suggestion about wording of BACKEND_URL

In app.json, BACKEND_URL and REACT_APP_URL have the following description:

The url of your of your site example: APP-NAME.herokuapp.com will be the same as REACT_APP_URL for one click heroku deploys

Maybe would be good to clarify this refers to the papercups server URL, not the website you're embedding the widget into. Could be a bit unclear especially if the website is also deployed on Heroku. How about something like this?

The url of your of your Papercups server (example: APP-NAME.herokuapp.com). Will be the same as REACT_APP_URL for one-click Heroku deploys

Anyway very nice project with smooth setup :)

thanks @oTree-org! that's a good idea 👍


How to customize the X-axis and Y-axis

My code is this. Why can display X-axis, Y-axis do not show

   LineChartData data = new LineChartData(lines);
        List<AxisValue> axisXs = new ArrayList<>();
        for (int i = 0; i < values.size(); i++) {
            axisXs.add(new AxisValue(getFormatTimeMillis((long) values.get(i).getX())).setLabel(formatMinutes((long) values.get(i).getX())));
        }
        List<AxisValue> axisYs = new ArrayList<>();
        for (int i = 90; i < 105; i = i + 2) {
            axisYs.add(new AxisValue(i).setLabel(String.valueOf(i)));
        }
        data.setAxisYLeft(new Axis(axisYs).setHasLines(true));
        data.setAxisXBottom(new Axis(axisXs).setHasLines(true));

I guess the problem is where you creating axis Y AxisValues. They are from 90 to 105, but maybe there is no point in your line which its Y value is between 90 and 105, So the chart does not show Y axis labels for your current points since there is no AxisValue for their Y values!
For example, if you have a point like this p = [800, 2], since there is no AxisValue for '2' in your current AxisY, then chart does not show any label for it.
Hope this help.

Thanks for your answer!
Depending on your answer, I found some problems, if the y axis AxisValue is 101, y-axis can not be displayed.For example point value [800, 101] [800, 101] [800, 101] [800, 101] [800, 101]

Thank you very much for your answer!
Depending on your answer, I found some problems, if the y axis AxisValue is 101, y-axis can not be displayed. For example point value [800, 101] [800, 101] [800, 101] [800, 101] [800, 101]