Implement FromRow for primitve types

As I see FromRow is implemented for tuples only ex (T1,) where T1 is Type<...> + Decode<..>, but not for T1.
Is it intentional ?
For some of my query I just want to return  a list of strings or a single number but I have to map them ex:
        let roots : Vec<String>= sqlx::query_as::<_, (String,)>("...").fetch_all(&pool).await?
        .into_iter().map(|x| x.0).collect();

That is a conflict because individual columns can be tuples.
However, on master, we recently added query_scalar for this common purpose.

Thanks. I think the issue can be closed than.
That was fast :)


AttributeError: 'str' object has no attribute 'recv'

I am using Docker to build a central_system ocpp1.6, and I am encountering this issue.
the test scenario is that the Charge Point (CP) connects to the Central System (CS) and the issue occurs.
I don't know if there is any solution.
Docker version: 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Docker Images :  python:3.12.0-slim-bullseye
ocpp version: 0.22
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:websockets.server:server listening on <IP_ADDRESS>:9000
INFO:root:Server Started listening to new connections...
INFO:websockets.server:connection open
INFO:root:Protocols Matched: ocpp1.6
ERROR:websockets.server:connection handler failed
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 236, in handler
    await self.ws_handler(self)
  File "/usr/local/lib/python3.12/site-packages/websockets/legacy/server.py", line 1175, in _ws_handler
    return await cast(
           ^^^^^^^^^^^
  File "/server/service/ocpp_server.py", line 163, in on_connect
    await asyncio.gather(cp.start(), self.register(cp))
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 160, in start
    message = await self._connection.recv()
                    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'recv'
INFO:websockets.server:connection closed

Additionally, the issue does not occur in the Windows 10 docker-desktop Docker Engine:v24.0.5 environment, which is strange.

This looks to be outside the scope of this library - the implementation of OCPP is up to the individual (for example this ocpp_server implementation, with docker). The purpose of this library gives only the building blocks, documentation and some simple demonstration.


Activity fails when launching app from notification

I am developing an Android application which sends daily notifications. However every time I open the app from the notification while the app is not running in the background it crashes once I navigate to a new page. My error is:
TypeError: Cannot read property getWindow of undefined
File: file:///data/data/org.nativescript.RealityKeeper/files/app/commonlogic.js, line: 35, column: 50

StackTrace:
	Frame: function:setAndroidBackground, file:file:///data/data/org.nativescript.RealityKeeper/files/app/commonlogic.js, line: 35, column: 51

The code that causes this is:
var window = app.android.startActivity.getWindow();
window.setStatusBarColor(androidColor.android);
window.setNavigationBarColor(androidColor.android);

And the notification is scheduled with this:
notificationHandler.schedule([{
            id: 1,
            title: 'Reality Keeper',
            body: 'Vergeet niet je vragen in te vullen!',
            interval: 'day',
            at: date
        }]).then(() => {
            console.log("Notification scheduled");
        }, (error) => {
            console.log("ERROR", error);
        });

I've set my launch mode to singleTop however this does not help.
It looks like the app doesn't launch properly, is this a bug or am I doing something wrong?
Any help would be appreciated, thank you!

This is probably fixed with plugin version 3.0.0 because I've changed how the app "launches" when a notification was pressed.

Can you provide a implementation sample to launch an application and navigate to certain view or at least launch the app in a module or given view? I'm looking for alternatives to go directly to certain application module after clicking on the notification but I haven't been able to find this, do you have maybe a reference to another source of information were anyone has achieved this before?
thanks


Add ap_idle generation

Previously ap_idle signal was not generated, which led to some issues when running designs through PYNQ.
This adds generation and associated logic.
Fixes #1078 and is part of broader efforts of #1072

Yes, looks great to me!


AttributeError: 'TSDataType' object has no attribute 'np_dtype'

Describe the bug
A clear and concise description of what the bug is.
python run SessionExample.py failed.throw error
Traceback (most recent call last):
  File "D:/lzwprogram/loadtest/iotdbtest/SessionExample.py", line 188, in <module>
    np.array([False, True, False, True], TSDataType.BOOLEAN.np_dtype()),
AttributeError: 'TSDataType' object has no attribute 'np_dtype'

To Reproduce
Steps to reproduce the behavior:

copy https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py into local folder
pip install numpy==1.21.6 apache-iotdb==0.13.0.post1
python run SessionExample.py
See error

Hi, np_dtype in TSDataType is added in master branch, which should not be in 0.13.0 version. You can try the test 0.14.0 version of py-client from https://test.pypi.org/project/apache-iotdb-test/ . It is compatible with 0.13.0 IoTDB server.

For the current 0.13.0 python client, you can refer the SessionExample below.
https://github.com/apache/iotdb/blob/v0.13.0/client-py/SessionExample.py
https://github.com/apache/iotdb/blob/4f985dd6dd7d1deb47359f27f10e84248490f837/client-py/SessionExample.py#L180-L187

thank you,
I fix it by this command:
pip install -i https://test.pypi.org/simple/ apache-iotdb-test==<IP_ADDRESS>

Hi, np_dtype in TSDataType is added in master branch and 0.13.1, which should not be in 0.13.0 version. You can try the 0.14.0 test version of py-client from https://test.pypi.org/project/apache-iotdb-test/ . It is compatible with 0.13.0 IoTDB server.
thank you
I fix it by this command


[codemod] v6.0.0/styled, v6.0.0/sx-prop, v6.0.0/theme-v6 codemods fail parsing tokens

Steps to reproduce
Link to live example: (required)
Steps:

Run npx @mui/codemod@next v6.0.0/styled packages on the latest mui-x master branch
Observe multiple (56) errors

Current behavior
A few example errors:
mui/mui-x/packages/x-date-pickers/tsconfig.build.json Transformation error (Missing semicolon. (4:11))
SyntaxError: Missing semicolon. (4:11)

mui/mui-x/packages/x-license/package.json Transformation error (Missing semicolon. (2:8))
SyntaxError: Missing semicolon. (2:8)

mui/mui-x/packages/x-date-pickers/src/AdapterLuxon/AdapterLuxon.ts Transformation error (Unexpected token (149:34))
SyntaxError: Unexpected token (149:34)

mui/mui-x/packages/x-data-grid/src/models/gridColumnGrouping.ts Transformation error (Unexpected token (25:25))
SyntaxError: Unexpected token (25:25)

Expected behavior
Codemod does not produce the above errors, but ignores the code that it does not need to transform.
Context
No response
Your environment

npx @mui/envinfo
System:
    OS: macOS 14.5
  Binaries:
    Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
    pnpm: 9.6.0 - ~/.nvm/versions/node/v18.20.2/bin/pnpm
  Browsers:
    Chrome: 127.0.6533.89
    Edge: 127.0.2651.86
    Safari: 17.5
  npmPackages:
    @emotion/react: ^11.13.0 => 11.13.0
    @emotion/styled: ^11.13.0 => 11.13.0
    @mui/icons-material: ^5.16.5 => 5.16.5
    @mui/internal-markdown: ^1.0.8 => 1.0.8
    @mui/internal-test-utils: ^1.0.5 => 1.0.5
    @mui/material: ^5.16.5 => 5.16.5
    @mui/monorepo: github:mui/material-ui#4a82b6b0e0395db8fa0a0d49b6b76de4516b1579 => 6.0.0-beta.4
    @mui/utils: ^5.16.5 => 5.16.5
    @types/react: ^18.3.3 => 18.3.3
    react: ^18.3.1 => 18.3.1
    react-dom: ^18.3.1 => 18.3.1
    typescript: ^5.5.4 => 5.5.4

Search keywords: codemod, styles

I would say that this is not a bug but an enhancement to skip these files.

I would say that this is not a bug but an enhancement to make the error better.

For json files—I completely agree, but failures on ts files are a bit strange—they are on typing lines. 🤷


Make fails in nervanagpu: OS X 10.10.3 - sed: illegal option -- r

Makefile:
define list_includes
$(shell sed -rn 's/^<INCLUDE file="(.*)"/>/\1/p' $(call strip_codes,$(1)))
endef
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ sudo !!
sudo make all
The directory '/Users/davidlaxer/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
installing maxas...
/tmp/nervanagpu.XXXXXXXX.waaER91X
Cloning into 'maxas'...
remote: Counting objects: 170, done.
remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170
Receiving objects: 100% (170/170), 163.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Checking if your kit is complete...
Looks good
Warning: prerequisite Carp 1.29 not found. We have 1.26.
Warning: prerequisite Data::Dumper 2.145 not found. We have 2.13506.
Writing Makefile for MaxAs::MaxAs
Writing MYMETA.yml and MYMETA.json
cp lib/MaxAs/MaxAs.pm blib/lib/MaxAs/MaxAs.pm
cp lib/MaxAs/Cubin.pm blib/lib/MaxAs/Cubin.pm
cp lib/MaxAs/MaxAsGrammar.pm blib/lib/MaxAs/MaxAsGrammar.pm
cp bin/maxas.pl blib/script/maxas.pl
/opt/local/bin/perl5.16 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/maxas.pl
Manifying blib/man3/MaxAs::MaxAs.3pm
Appending installation info to /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/perllocal.pod
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
building kernel: hgemm_nn_128x128...
make: maxas.pl: No such file or directory
make: *** [nervanagpu/kernels/cubin/hgemm_nn_128x128.cubin] Error 1
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ sed -r
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

try installing maxas directly first:
https://github.com/NervanaSystems/maxas
The nervanagpu makefile should be trying to install it for you, but it
seems to have failed.  or perhaps it's installed but the path to it is not
available to your sudo.
On Fri, Jul 10, 2015 at 2:06 PM, dbl001<EMAIL_ADDRESS>wrote:

Makefile:
define list_includes
$(shell sed -rn 's/^/\1/p' $(call strip_codes,$(1)))
endef
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ sudo !!
sudo make all
The directory '/Users/davidlaxer/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
installing maxas...
/tmp/nervanagpu.XXXXXXXX.waaER91X
Cloning into 'maxas'...
remote: Counting objects: 170, done.
remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170
Receiving objects: 100% (170/170), 163.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Checking if your kit is complete...
Looks good
Warning: prerequisite Carp 1.29 not found. We have 1.26.
Warning: prerequisite Data::Dumper 2.145 not found. We have 2.13506.

—
Reply to this email directly or view it on GitHub
https://github.com/NervanaSystems/neon/issues/59.

David-Laxers-MacBook-Pro:maxas davidlaxer$ pip install Carp
Collecting Carp
Downloading carp-0.0.3.tar.gz
Collecting clepy (from Carp)
Downloading clepy-0.3.23.tar.gz
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from Carp)
Requirement already satisfied (use --upgrade to upgrade): decorator>=3.0 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from clepy->Carp)
Requirement already satisfied (use --upgrade to upgrade): nose in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from clepy->Carp)
Requirement already satisfied (use --upgrade to upgrade): mock in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from clepy->Carp)
Installing collected packages: clepy, Carp
Running setup.py install for clepy
Running setup.py install for Carp
Successfully installed Carp-0.0.3 clepy-0.3.23
David-Laxers-MacBook-Pro:maxas davidlaxer$ make
cp lib/MaxAs/MaxAs.pm blib/lib/MaxAs/MaxAs.pm
cp lib/MaxAs/Cubin.pm blib/lib/MaxAs/Cubin.pm
cp lib/MaxAs/MaxAsGrammar.pm blib/lib/MaxAs/MaxAsGrammar.pm
cp bin/maxas.pl blib/script/maxas.pl
/opt/local/bin/perl5.16 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/maxas.pl
Manifying blib/man3/MaxAs::MaxAs.3pm
David-Laxers-MacBook-Pro:maxas davidlaxer$ sudo make install
Password:
Appending installation info to /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/perllocal.pod
David-Laxers-MacBook-Pro:maxas davidlaxer$
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ pip install Carp --upgrade
Requirement already up-to-date: Carp in /Users/davidlaxer/anaconda/lib/python2.7/site-packages
Requirement already up-to-date: clepy in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from Carp)
Requirement already up-to-date: jinja2 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from Carp)
Requirement already up-to-date: decorator>=3.0 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from clepy->Carp)
Requirement already up-to-date: nose in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from clepy->Carp)
Collecting mock (from clepy->Carp)
Downloading mock-1.1.1.tar.gz (69kB)
100% |████████████████████████████████| 73kB 813kB/s
Collecting pbr>=0.11 (from mock->clepy->Carp)
Downloading pbr-1.2.0-py2.py3-none-any.whl (83kB)
100% |████████████████████████████████| 86kB 1.0MB/s
Requirement already up-to-date: six>=1.7 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from mock->clepy->Carp)
Requirement already up-to-date: funcsigs in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from mock->clepy->Carp)
Installing collected packages: pbr, mock
Found existing installation: mock 1.0.1
DEPRECATION: Uninstalling a distutils installed project (mock) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling mock-1.0.1:
Successfully uninstalled mock-1.0.1
Running setup.py install for mock
Successfully installed mock-1.1.1 pbr-1.2.0
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ pip install Dumper --upgrade
Collecting Dumper
Downloading Dumper-1.0.4-py2.py3-none-any.whl
Installing collected packages: Dumper
Successfully installed Dumper-1.0.4
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ make all
installing maxas...
/var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/nervanagpu.XXXXXXXX.A9H2VpAv
Cloning into 'maxas'...
remote: Counting objects: 170, done.
remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170
Receiving objects: 100% (170/170), 163.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Checking if your kit is complete...
Looks good
Warning: prerequisite Carp 1.29 not found. We have 1.26.
Warning: prerequisite Data::Dumper 2.145 not found. We have 2.13506.
Writing Makefile for MaxAs::MaxAs
Writing MYMETA.yml and MYMETA.json
cp lib/MaxAs/MaxAs.pm blib/lib/MaxAs/MaxAs.pm
cp lib/MaxAs/Cubin.pm blib/lib/MaxAs/Cubin.pm
cp lib/MaxAs/MaxAsGrammar.pm blib/lib/MaxAs/MaxAsGrammar.pm
cp bin/maxas.pl blib/script/maxas.pl
/opt/local/bin/perl5.16 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/maxas.pl
Manifying blib/man3/MaxAs::MaxAs.3pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/opt/local/lib/perl5/site_perl/5.16.3/MaxAs'
Do not have write permissions on '/opt/local/lib/perl5/site_perl/5.16.3/MaxAs'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1.
make[1]: *** [pure_site_install] Error 13
problems installing maxas
make: *** [maxas_check] Error 1
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ sudo make all
The directory '/Users/davidlaxer/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
installing maxas...
/tmp/nervanagpu.XXXXXXXX.JNGuTdEo
Cloning into 'maxas'...
remote: Counting objects: 170, done.
remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170
Receiving objects: 100% (170/170), 163.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Checking if your kit is complete...
Looks good
Warning: prerequisite Carp 1.29 not found. We have 1.26.
Warning: prerequisite Data::Dumper 2.145 not found. We have 2.13506.
Writing Makefile for MaxAs::MaxAs
Writing MYMETA.yml and MYMETA.json
cp lib/MaxAs/MaxAs.pm blib/lib/MaxAs/MaxAs.pm
cp lib/MaxAs/Cubin.pm blib/lib/MaxAs/Cubin.pm
cp lib/MaxAs/MaxAsGrammar.pm blib/lib/MaxAs/MaxAsGrammar.pm
cp bin/maxas.pl blib/script/maxas.pl
/opt/local/bin/perl5.16 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/maxas.pl
Manifying blib/man3/MaxAs::MaxAs.3pm
Appending installation info to /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/perllocal.pod
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
building kernel: hgemm_nn_128x128...
make: maxas.pl: No such file or directory
make: *** [nervanagpu/kernels/cubin/hgemm_nn_128x128.cubin] Error 1
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$

On Jul 10, 2015, at 2:11 PM, apark263<EMAIL_ADDRESS>wrote:
try installing maxas directly first:
https://github.com/NervanaSystems/maxas
The nervanagpu makefile should be trying to install it for you, but it
seems to have failed. or perhaps it's installed but the path to it is not
available to your sudo.
On Fri, Jul 10, 2015 at 2:06 PM, dbl001<EMAIL_ADDRESS>wrote:

Makefile:
define list_includes
$(shell sed -rn 's/^/\1/p' $(call strip_codes,$(1)))
endef
David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ sudo !!
sudo make all
The directory '/Users/davidlaxer/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
installing maxas...
/tmp/nervanagpu.XXXXXXXX.waaER91X
Cloning into 'maxas'...
remote: Counting objects: 170, done.
remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170
Receiving objects: 100% (170/170), 163.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Checking if your kit is complete...
Looks good
Warning: prerequisite Carp 1.29 not found. We have 1.26.
Warning: prerequisite Data::Dumper 2.145 not found. We have 2.13506.

—
Reply to this email directly or view it on GitHub
https://github.com/NervanaSystems/neon/issues/59.

—
Reply to this email directly or view it on GitHub https://github.com/NervanaSystems/neon/issues/59#issuecomment-120529674.

Hi David,
I noticed that you are trying to install nervanagpu on a macbook pro.  I wanted to point out that nervanagpu currently only supports maxwell class gpus, so even if it gets installed, you probably will not be able to use it.

Ok.
Chipset Model:	NVIDIA GeForce 9600M GT
It runs Cuda 6.5.
How about an EC2 GPU:

On Jul 10, 2015, at 2:25 PM, apark263<EMAIL_ADDRESS>wrote:
Hi David,
I noticed that you are trying to install nervanagpu on a macbook pro. I wanted to point out that nervanagpu currently only supports maxwell class gpus, so even if it gets installed, you probably will not be able to use it.
—
Reply to this email directly or view it on GitHub https://github.com/NervanaSystems/neon/issues/59#issuecomment-120532871.

Hi David,
Unfortunately, all the GPU's Amazon currently offers through EC2 are older Kepler based models so again you wouldn't be able to use the nervanagpu backend there.


fix: possible race in AvailableArchitecture.GetHash() function

Closes #5423
Split from #5297

/ok-to-merge

/test

@mnencia I want to take a quick look before you merge this, if it is not a problem


Use grunt-load-tasks

Use grunt load tasks for cleaner gruntfile.
Fixes #31

@taeo Looks good too. If you can update it to date w/ master good to merge.


(Observability): Ability to surface errors of shard number are full in the AOS domain

Describe the feature
Provide alarms or notification when the shard number are full or exceeding limit in the AOS domain.
Use Case
Some times log are not ingested due to the shard number exceed the limit of AOS, but this error are hard to identify as the error logs are not in the log processor lambda logs in CloudWatch logs.
Proposed Solution
No response
Other Information
No response
Solution version used
1.0

We have add the metrics, logging and alarms of pipelines. If the customer enabled the alarms when creating pipelines, they should be able to receive alarms through SNS now.


Fedora instructions contain unneeded step

You have a section under "Additionally, the EFI bootloader shim appears not to work under the conditions" with instructions for replacing BOOTAA64.EFI with grubaa64.efi.  That doesn't seem to be needed when installing Fedora on an nvme drive in a Pinebook Pro.  It works as is after ignoring the errors in the installer as described on the page.

Indeed, I can confirm with a recent test (checking for this issue) that it is not needed anymore. The shim now seems to be able to correctly boot without doing any manual steps.


Add event system explanation to jib-core readme

Fixes #1462. Should be merged after the next core release (0.1.2? 0.2.0?)

Since we're releasing 0.1.2, we can review this @GoogleContainerTools/java-tools-build


VAC ERROR 2020.11.26-

Im getting the vac error msg when trying to enter a match.

same. i think they patched it


MQTT savings werden nicht mehr übertragen

Describe the bug
In der Version 0.121.2 (vielleicht auch schon früher) vermisse ich die savings* Topics wie
savingsTotalCharged
savingsGridCharged
savingsSelfConsumptionCharged
savingsSelfConsumptionPercent
savingsEffectivePrice
savingsAmount
Ich weiß das an der Berechnung der savings sich etwas verändert hat.

Configuration details
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: evcc.local
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 10s # control cycle interval

# sponsor token: *****
sponsortoken: *****

# log settings
#log: error
log: debug
#log: trace
levels:
  core: error
  lp-1: error
  lp-2: error
  #core: trace
  #lp-1: trace
  #lp-2: trace

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for examples see https://github.com/andig/evcc-config#meters
meters:
- name: pv
  #type: custom
  #type: default
  type: template
  template: fronius-solarapi-v1
  usage: pv
  host: <IP_ADDRESS> # IP-Adresse oder Hostname
    #power:
    #source: http
    #type: http
    #uri: http://<IP_ADDRESS>/solar_api/v1/GetPowerFlowRealtimeData.fcgi
    #jq: if .Body.Data.Site.P_PV == null then 0 else .Body.Data.Site.P_PV end
- name: pv2
  type: template
  template: fronius-gen24
  usage: pv
  host: <IP_ADDRESS> # IP-Adresse oder Hostname

- name: pv2_battery
  type: template
  template: fronius-gen24
  usage: battery
  host: <IP_ADDRESS> # IP-Adresse oder Hostname
  port: 502 # Port # Optional

- name: grid
  #type: custom
  #type: template
  #type: default
  type: template
  #template: fronius-solarapi-v1
  template: fronius-gen24
  usage: grid
  #host: <IP_ADDRESS> # IP-Adresse oder Hostname pv1
  host: <IP_ADDRESS> # IP-Adresse oder Hostname pv2
    #power:
    #source: http
    #type: http
    #uri: http://<IP_ADDRESS>/solar_api/v1/GetPowerFlowRealtimeData.fcgi
    #jq: if .Body.Data.Site.P_Grid == null then 0 else .Body.Data.Site.P_Grid end

- name: sdm630mqtt
  type: custom
  power: # Leistung (W)
    source: mqtt
    topic: mqttGenericBridge/phoenix_meter/Power_Sum__W
    timeout: 90s
    #energy: # Sum
    #source: mqtt
    #topic: mqttGenericBridge/wallbox/Energy_import__kWh
    #timeout: 600s

    #- name: wallboxmeter
    #type: custom
    #power:
  currents: # optional currents (A)
   - source: mqtt # L1 plugin type
     topic: mqttGenericBridge/phoenix_meter/Current_L1__A
   - source: mqtt # L2 plugin type
     topic: mqttGenericBridge/phoenix_meter/Current_L2__A
   - source: mqtt # L3 plugin type
     topic: mqttGenericBridge/phoenix_meter/Current_L3__A

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for examples see https://github.com/andig/evcc-config#chargers
# EM-CP-PP-ETH -> phoenix-em-eth
#- type: phoenix-em-eth
chargers:
  - name: phoenix # wallbe
    type: phoenix-em-eth
    uri: <IP_ADDRESS>
    #   power: false    # charge meter connected to controller
    #  energy: false   # charge meter connected to controller
    # currents: false # charge meter connected to controller
    #power: true    # charge meter connected to controller
    #energy: true   # charge meter connected to controller
    #currents: true # charge meter connected to controller

  - name: wallbox2
    type: template
    template: go-e-v3
    host: <IP_ADDRESS>

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for examples see https://github.com/andig/evcc-config#vehicles
vehicles:
   - type: template
     template: hyundai
     name: ev1
     title: IONIQ 5
     user: *****
     password: *****
     vin: *****
     capacity: 58
     language: de
     #target: 100 # always charge to 100%
     #type: hyundai
     #template: template

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    #price: 0.3113 # EUR/kWh
    price: 0.3495 # EUR/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.123 # EUR/kWh
      # planner:
    # planner tariff can be used for target charging if not grid tariff is specified
    # GrünStromIndex (Germany only) or ElectricityMaps provide CO2 intensity forecast
    #type: grünstromindex
    #zip: 86807
    #  co2:
    #type: electricitymaps
      #uri: https://api-access.electricitymaps.com/free-tier/
      #uri: https://api-access.electricitymaps.com/free-tier/carbon-intensity/history
      #token: *****
      #zone: DE

# site describes the EVU connection, PV and home battery
site:
  #residualPower: -1000 # 1000W Netzbezug im PV Modus erlaubt
  #residualPower: -500 # 1000W Netzbezug im PV Modus erlaubt
  title: Zuhause # display name for UI
  meters:
    grid: grid # grid meter
    pvs:
    - pv
    - pv2
    batteries:
    - pv2_battery
  prioritySoc: 60 # Hausbatterie bekommt bis zum Soc 50% Priorität beim laden
  bufferSoc: 90 # Hausbatterie wird oberhalb Soc 80% als Puffer genutzt

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
- title: Garage # display name for UI
  charger: wallbox2 # charger
  #vehicles: # use if multiple vehicles allowed to charge on this loadpoint
  #vehicle: ev1
  # - ID.3
  #vehicles: ev1
  # - ID.3
  # - e-Up
  mode: pv
  resetOnDisconnect: true # set defaults when vehicle disconnects
  soc:
    # polling defines usage of the vehicle APIs
    # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
    # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
    poll:
      # poll mode defines under which condition the vehicle API is called:
      #   charging: update vehicle ONLY when charging (this is the recommended default)
      #   connected: update vehicle when connected (not only charging), interval defines how often
      #   always: always update vehicle regardless of connection state, interval defines how often
      mode: charging
      # updated at 23.5.22
      #mode: always
      # poll interval defines how often the vehicle API may be polled if NOT charging
      #interval: 60m
      interval: 90m
    min: 0 # immediately charge to 0% regardless of mode unless "off" (disabled)
      #target: 100 # always charge to 100%
    estimate: false # set true to interpolate between api updates
    #onDisconnect: # set defaults when vehicle disconnects
    #mode: pv # switch back to pv mode
    #targetSoC: 100 # charge to 100%
  phases: 0 # ev phases (default 3)
  enable: # pv mode enable behavior
    delay: 1m # threshold must be exceeded for this long
    threshold: 0 # minimum export power (W). If zero, export must exceed minimum charge power to enable
  disable: # pv mode disable behavior
    delay: 10m # threshold must be exceeded for this long
    threshold: 200 # maximum import power (W)
  guardduration: 5m # switch charger contactor not more often than this (default 10m)
  mincurrent: 6 # minimum charge current (default 6A)
  maxcurrent: 16 # maximum charge current (default 16A)

- title: Garage2 # display name for UI
  charger: phoenix # charger
  meter:  sdm630mqtt
  #vehicles: # use if multiple vehicles allowed to charge on this loadpoint
  #vehicle: ev1
  # - ID.3
  #vehicles: ev1
  # - ID.3
  # - e-Up
  mode: pv
  resetOnDisconnect: true # set defaults when vehicle disconnects
  soc:
    # polling defines usage of the vehicle APIs
    # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
    # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
    poll:
      # poll mode defines under which condition the vehicle API is called:
      #   charging: update vehicle ONLY when charging (this is the recommended default)
      #   connected: update vehicle when connected (not only charging), interval defines how often
      #   always: always update vehicle regardless of connection state, interval defines how often
      mode: charging
      # updated at 23.5.22
      #mode: always
      # poll interval defines how often the vehicle API may be polled if NOT charging
      #interval: 60m
      interval: 90m
    min: 0 # immediately charge to 0% regardless of mode unless "off" (disabled)
      #target: 100 # always charge to 100%
    estimate: false # set true to interpolate between api updates
    #onDisconnect: # set defaults when vehicle disconnects
    #mode: pv # switch back to pv mode
    #targetSoC: 100 # charge to 100%
  phases: 3 # ev phases (default 3)
  enable: # pv mode enable behavior
    delay: 1m # threshold must be exceeded for this long
    threshold: 0 # minimum export power (W). If zero, export must exceed minimum charge power to enable
  disable: # pv mode disable behavior
    delay: 10m # threshold must be exceeded for this long
    threshold: 200 # maximum import power (W)
  guardduration: 5m # switch charger contactor not more often than this (default 10m)
  mincurrent: 6 # minimum charge current (default 6A)
  maxcurrent: 16 # maximum charge current (default 16A)

# mqtt message broker
mqtt:
  # broker: localhost:1883
  # topic: evcc # root topic for publishing, set empty to disable
  broker: <IP_ADDRESS>:1883
  topic: evcc # root topic for publishing, set empty to disable
  clientid: evcc_585507366
  # user: *****
  # password: *****

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user: *****
  # password: *****

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
  services:
  # - type: pushover
  #   app: *****
  #   recipients: *****
  #   - # list of recipient ids
  # - type: telegram
  #   token: *****
  #   chats: *****
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user: *****

</details>
Version: `0.121.2`

Log details
evcc startet normal und logs bringen hier denk ich nichts.

What type of operating system are you running?
Linux
Version
evcc version 0.121.2

Duplikat zu https://github.com/evcc-io/evcc/issues/10515

das ist ja witzig.
Bei dem issue #10515 geht es um Formatierung von Werten.


Default to the storage defaults

Change the config to use github.com/containers/storage by default.
Allow users to override in the config, but if the admin does not
override the config.
Since containers/storage default driver is overlay, I removed all
reference to overlay2,  container/storage uses the same driver for
overlay and overlay2.
Also removed the kpod-push.1.md file which was in the wrong directory.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

This looks good besides the kpod-push doc removal. We can merge it after the tests pass.

whitespace errors in git validation and test failures.

Needs rebase now.

Tests are failing on jenkins.

@mrunalp Finally figured out why.  Some local tests passed, will see what happens now.

Having problems vendoring in logrus changes for containers/storage, so just want to run through tests to make sure driver="" fixes the testing issues.

retest

[retest]

@nalind PTAL, I think there is still an issue with your patch on storage driver?
       name: /etc/crio/crio.conf
-      backup: yes
-  - name: add overlay2 storage opts on RHEL/CentOS
+  - name: uncomment overlay storage opts on RHEL/CentOS
+    replace:
+      regexp: '^#storage_option = \[ \n^#\]\n'
+      replace: |
+        storage_option = [
+        ]
+      name: /etc/crio/crio.conf
+    when: ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS'
+  - name: set overlay storage opts on RHEL/CentOS

https://github.com/containers/storage/pull/88 is to fix this issue.
The problem is it needs to get merged, then be vendored into skopeo, and packaged up and shipped to RHEL.

Should we make the c/storage fields in the configuration omitempty in TOML, so they don't need to be present to use the c/storage defaults?

@cevich Another one that consistently fails with OOM.

(repeating myself)
@rhatdan is it worth temporarily testing a merge of  #813 here as mrunal did with #631 ?

@rhatdan In the bit of test/helpers.bash that launches cri-o, when it uncomments the storage-related settings in the crio.conf which we'll be using for tests, isn't uncommenting the multiple lines of commented storage options the way we need it to.  Try updating line 226 to read
        "$CRIO_BINARY" --conmon "$CONMON_BINARY" --listen "$CRIO_SOCKET" --cgroup-manager "$CGROUP_MANAGER" --registry "docker.io" --runtime "$RUNTIME_BINARY" --root "$TESTDIR/crio" --runroot "$TESTDIR/crio-run" $STORAGE_OPTS --seccomp-profile "$seccomp" --apparmor-profile "$apparmor" --cni-config-dir "$CRIO_CNI_CONFIG" --signature-policy "$INTEGRATION_ROOT"/policy.json --image-volumes "$IMAGE_VOLUMES" --pids-limit "$PIDS_LIMIT" --config /dev/null config | sed -r -e 's/^(#)?root =/root =/g' -e 's/^(#)?runroot =/runroot =/g' -e 's/^(#)?storage_driver =/storage_driver =/g' -e '/^(#)?storage_option = (\[)?[ \t]*$/,/^#?$/s/^(#)?//g' >$CRIO_CONFIG

That should handle uncommenting an arbitrary number of lines starting at storage_option =... until it hits either a blank line, or a line that's just an empty comment.

[retest]

[retest]
@cevich Why aren't these tests running?

[devretest]

@johnbieren Why aren't tests running?

@rhatdan because the test job triggered for this PR never actually got to run tests because the following task fails
https://github.com/kubernetes-incubator/cri-o/blob/master/contrib/test/crio-integration-playbook.yaml#L324
If the environment setup fails and no tests actually run, it doesn't comment.

Is there a way to get this information back to the user?  Does this mean that start crio is blowing up because of my pull request?

I still don't know what the error is?

The error is that the task I linked failed. If an ansible task fails and ignore_errors: true is not set, the playbook exits. As far as getting setup failure info back to the user, maybe that is something @cevich wants to add in to the workflow, but it does not exist now.  You would need to strip ip addresses and check for other potentially private content before just publishing the logs.

Even if the message was Ansible setup is blowing up.
@cevich Could you take a look at this.

@rhatdan What I'm thinking is: Have every stage of the CI job echo"starting XYZ" into the log.  That way there's always a log to post, and if something breaks, you'll have at least some clue where to start troubleshooting (the thing after the last thing in the log).  Not ideal, but it should be an easy addition.
Another (maybe easier) addition, would be to have the job post comments to the PR for each stage.  I would imagine that would cause a lot of e-mail traffic and clutter up the PR though, so I'll try twiddling the log file first.

@rhatdan ugg, nevermind, there's a worse problem that needs asap fixing...sending e-mail...

@rhatdan ...opened https://trello.com/c/JQ2pT7Dn so the suggestion doesn't get lost.

[retest]

@nalind still getting the infamous "unknown option --storage-opt"  I swear this pull request will never get merged.  :^(

/test all

/test all

/retest

/test all

/test all

/retest

/test all

/retest

/test critest_rhel

/retest

/test all

/test all

/test all

/test all

/test all

/test all

/retest

/test e2e
/test integration

@stevekuznetsov triggering seems to be broken again. Only 3 tests got kicked off.

/me running this one manually.  Will check on it in the morning.

/test all

@rhatdan Integration tests ran/passed but e2e died in ansible.  Something about failing to start the crio service.  Here are the ansible log, integration results, journal, and crio.conf (including a backup file made by ansible).  I had to rename some with a .txt extension to make github happy.
ansible_output.log
crio.conf.20129.2018-03-15@17:15:06~.txt
crio.conf.txt
seccomp.json.txt
testout.txt
journal.log
Important detail seems to be:
Mar 15 17:42:59 testing-pr701 systemd[1]: Reloading.
Mar 15 17:43:00 testing-pr701 systemd[1]: Starting Open Container Initiative Daemon...
Mar 15 17:43:00 testing-pr701 crio[22515]: NAME:
Mar 15 17:43:00 testing-pr701 crio[22515]: crio - crio server
Mar 15 17:43:00 testing-pr701 crio[22515]: USAGE:
Mar 15 17:43:00 testing-pr701 crio[22515]: crio [global options] command [command options] [arguments...]
Mar 15 17:43:00 testing-pr701 crio[22515]: VERSION:
Mar 15 17:43:00 testing-pr701 crio[22515]: 1.10.0-dev
Mar 15 17:43:00 testing-pr701 crio[22515]: commit: "fa1eb6d20c14a22d4406afe7146d72a556c49fa2"
Mar 15 17:43:00 testing-pr701 crio[22515]: COMMANDS:
...cut...
Mar 15 17:43:00 testing-pr701 crio[22515]: time="2018-03-15T17:43:00-04:00" level=fatal msg="Near line 25 (last key parsed 'crio.overlay.override_kernel_check=1'): Expected key separator '=', but got '\n' instead."
Mar 15 17:43:00 testing-pr701 systemd[1]: Failed to start Open Container Initiative Daemon.

/test all

I think sed -i '/^#storage_option =/,/^$/ s,^#,,g' crio.conf would work better as a sed one-liner, if we still want to uncomment the storage_options.

@nalind I don't think that code is broken, it is the ansible code that is broken.

/test all

After many months this one finally merged.  @runcom @mrunalp @nalind PTAL

LGTM


Monitoring per operation

This issue might be a more of a question rather than issue. I'm interested in a way how http4s generated code handles monitoring. Right now we are able to monitor things globally, ie. we can keep track of HTTP status codes returned by a server, but I'm not able to keep a track of status codes per endpoints/operationId.  Similar thing applies http4s server. How do you solve this? Or do you event solve it at all?
I have an idea how to modify current generator in order to suit our needs. Essentially it requires to be able to pass String => Request[F] => F[Response[F]] into every Client and Resource (server).

This seems very close to TraceBuilder, https://github.com/twilio/guardrail/blob/320afebc2c26f800de7699bd009b314d4ed4c6be/modules/codegen/src/main/scala/com/twilio/guardrail/generators/Http4sGenerator.scala#L53
Is what you're trying to do possible with that?
@cponomaryov Do you have any thoughts around this?

TraceBuilder has two issues from my point of view:

it works only for client side monitoring, not a server one
it forces us to propagate TraceBuilder across whole application, which is something I would very much like to avoid.

Let's try other way. How do you guys monitor http4s Responses (latency, success & failure rate)? From what I see it is only possible to monitor it globally, i.e not on single endpoint granularity.
I have an idea how to possibly modify/extend currently generated code, but I would like to do it only when it's absolutely needed. It might be a case I missed something.

We currently use akka-http, so I don't know how this would work in http4s.
Our monitoring is effectively global, as you've described, by sanitizing the response URLs and emitting metrics from outside the application.
Looking again at String => Request[F] => F[Response[F]], how would you implement this? This function, if passed in to the Resource, wouldn't have access to creating a Response[F], would it?
Given that, wouldn't it be closer to String => Request[F] => F[Response[F]] => F[Response[F]] or String => Request[F] => Response[F] => Response[F]?
I could see the first being implemented as something like a response transformer, giving you complete access to the value coming from the response of whatever Handler method was called, where the second would be trying to inject into the router (at least the way akka-http does it, this could be different for http4s)
I agree with the direction you're going here, I didn't give enough consideration before when asking about TraceBuilder; it's necessary for us, due to needing to inject context headers into downstream client requests, but I can see how others may not need that.

Sorry, my bad. Let me tree again:) Assuming type Http4sHandler[F[_]] = Request[F] = F[Response[F]] it should have really been String => Http4sHandler[F] => Http4sHandler[F]. So it essentially wraps generated handler with "Handler transformer". I just slightly modified your solution in a way that we even enable modification of incoming request. Does it make any sense?

I think this makes sense. An implementation could be
operationId => mapper => { req =>
  val start = now()
  mapper(req).map { x =>
    val stop = now()
    emit(start, stop)
    x
  }
}

Is what you're thinking? Does http4s have a way to wrap an individual function in this way?
It still seems as though String => Request[F] => Response[F] => Response[F] is still more generally useful as least from akka-http, but maybe I'm just not seeing what you're getting at yet.

Http4s has a notion of middleware: https://http4s.org/v0.20/middleware/
You can use them over generated code.
There is a metrics middleware in http4s: https://github.com/http4s/http4s/blob/master/server/src/main/scala/org/http4s/server/middleware/Metrics.scala
So you can use it or implement your own.

Yes, http4s Middleware is exactly what I want. We just need to fix input parameters to Request[F] and output to Response[F]. I also like that it plays nicely with the rest of http4s framework.

I just gave it a couple of hours and failed. The issue is that the handler is never expressed in the shape of Request[F] => F[Response[F]] ... it looks like guardrail deconstructs the request into all it's parameters and then passes those to generated Handler interface ... unless im missing something

Not on the individual message level, no. I presumed we'd need to decompose every single method into its own service, add metrics, then compose them back together.
How do others do this? Request => F[Response] seems like your entire service handler layer, which would be the output of `route(handler)

it turns out the solution can be quite simple ..

@tomasherman This issue can be closed, now that #259 has been released?

Yep, we will probably want to add something similar for clients at some point (we are very pro-monitoring at avast :)) but for now we are good! Thank you

Great! Feel free to reopen if necessary.


On xds callback error trigger a new global resync

By using callbacks we detect when a envoy instance returns an error when trying to load the new snapshot and retry.

The changes to add callbacks look good :+1:
We should try to avoid mixing changes in our code base and dependency updates in the same commit. Otherwise the diff become way less useful and also, it makes the review harder.

The changes to add callbacks look good 👍
We should try to avoid mixing changes in our code base and dependency updates in the same commit. Otherwise the diff become way less useful and also, it makes the review harder.

Sorry about that, let me clean it.

@davidor don't merge it yet. I want to run more tests.


Chef client run throws error on JUNOS device when it is triggered second time

The first client run is success but when second client run is tirggred without any change is receipe list it throws error "Configuration database is not open"
root@chef-client% /opt/sdk/chef/bin/ruby /opt/sdk/chef/bin/chef-client -c /config/chef/client.rb
[2015-06-10T22:10:27+05:30] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.10.4
[2015-06-10T22:10:28+05:30] INFO: *** Chef 11.10.4 ***
[2015-06-10T22:10:28+05:30] INFO: Chef-client pid: 57463
[2015-06-10T22:10:34+05:30] INFO: Run List is [recipe[netdev::sample]]
[2015-06-10T22:10:34+05:30] INFO: Run List expands to [netdev::sample]
[2015-06-10T22:10:34+05:30] INFO: Starting Chef Run for chef-client
[2015-06-10T22:10:34+05:30] INFO: Running start handlers
[2015-06-10T22:10:34+05:30] INFO: Start handlers complete.
[2015-06-10T22:10:35+05:30] INFO: HTTP Request Returned 404 Object Not Found:
resolving cookbooks for run list: ["netdev::sample"]
[2015-06-10T22:10:35+05:30] INFO: Loading cookbooks [netdev]
Synchronizing Cookbooks:
  - netdev
Compiling Cookbooks...
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:35: warning: already initialized constant KNOWN_RESOURCES
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant L1ports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant L2ports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant IPports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant Vlans
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant LAGports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:65: warning: already initialized constant VALUES_TO_SYMBOLIZE
Converging 1 resources
Recipe: netdev::sample
  * netdev_interface[ge-1/0/0] action create[2015-06-10T22:10:39+05:30] INFO: Processing netdev_interface[ge-1/0/0] action create (netdev::sample line 1)
[2015-06-10T22:10:42+05:30] INFO: Netconf session is sucess
 (up to date)
[2015-06-10T22:10:42+05:30] INFO: Chef Run complete in 7.928817898 seconds

Configuration database is not open                                                                                [80/3063]
</error-message>                                                                                [79/3063]
</rpc-error>                                                                                [78/3063]
</rpc-reply>                                                                                [77/3063]
                                                                                [76/3063]
Running handlers:                                                                                [0/3063]
[2015-06-10T22:10:42+05:30] INFO: Running report handlers
[2015-06-10T22:10:50+05:30] INFO: Committed pending Junos candidate configuration changes
[2015-06-10T22:10:50+05:30] FATAL: Could not complete Junos configuration transaction:

RPC command error: unlock-configuration
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/15.1D0/junos" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<rpc-error>
<error-type>protocol</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>
Configuration database is not open
</error-message>
</rpc-error>
</rpc-reply>

Running handlers:
[2015-06-10T22:10:50+05:30] ERROR: Running exception handlers
[2015-06-10T22:10:51+05:30] INFO: Rolled back pending Junos candidate configuration changes
  - JunosCommitTransactionHandler
Running handlers complete

[2015-06-10T22:10:51+05:30] ERROR: Exception handlers complete
[2015-06-10T22:10:51+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 24.170942202 seconds
[2015-06-10T22:10:51+05:30] ERROR: Could not complete Junos configuration transaction:

RPC command error: unlock-configuration
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/15.1D0/junos" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<rpc-error>
<error-type>protocol</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>
Configuration database is not open
</error-message>
</rpc-error>
</rpc-reply>
[2015-06-10T22:10:52+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

The chef run client pid is different for first and second run.
The error is seen because for second client run it send unlock-configuration rpc here
which fails because candidate database was not locked for second client run.
As per JUNOS behavior if <unlock-configuration> rpc is issued without prior issuing <lock-configuration> rpc it throws error
1) Login to JUNOS device and enter netconf client mode
%netconf interactive

2) In netconf client mode copy and paste below <unlock-configuration> rpc
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
  <unlock-configuration/>
</rpc>

PS: Lock configuration rpc
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11">
  <lock>
    <target>
      <candidate/>
    </target>
  </lock>
</rpc>

Same as issue https://github.com/opscode-cookbooks/netdev/issues/13


Adding link support to infobox. (#18876)

This PR fixes: #18819
PR to main branch: #18876

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
76 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.04%) to 42.292%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/api/common/sqlExtHostTypes.ts
35
92.74%

src/sql/workbench/api/common/extHostModelView.ts
41
33.95%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
27592

Relevant Lines:
60981

💛  - Coveralls


The dexter activity does not persist across device rotations

Expected behaviour
If the device is rotated when the permission dialog is shown, then it should still show the dialog
Actual behaviour
when the device is rotated it stops showing the dialog

@greatjack1 could you provide some extra information? We need to know the library version you are using and also the  Android OS version

Duplicated by #276


expanded ontology by Fan

@Fan-Luo, you beat me to this.  I think I have to merge mine first so that the code to read this new format is in place and then add your improvements.  However, what is with December?  We keep losing it off the end of the file, or is it supposed to be missing?

December was not there when I got it, but added now.

'fertilizer' and 'irrigation' under human?

@Fan-Luo, I think you'll want to use all of your changes.  I hope that resolving kicks off another unit test to make sure the new file passes the tests.  I'll check in a few hours when I get back.

Thanks, @Fan-Luo, for merging.

I hope everyone found the most recent copy, whatever or wherever it is.

For merging, I simply overwrite as you said use all of my changes.
Not sure whether it is right thing to do. Please check, thanks


Fix browser package

Fix browser package

compile the browser source code in compile docker instead of building the browser in runtime docker


[cli 3.0 beta 9] upload impossible

Impossible to upload a new snapshot with : ionic upload

TypeError: Cannot read property 'includes' of undefined

Same here:
TypeError: Cannot read property 'includes' of undefined
    at getReleaseChannelName (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/plugins.js:187:16)
    at Object.<anonymous> (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/plugins.js:159:33)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/dist/lib/plugins.js:4:58)

@ThomasKientz @jorgjanke Please update your plugins.
For Ionic Angular:
npm i --save-dev @ionic/cli-plugin-cordova@beta @ionic/cli-plugin-ionic-angular@beta

For Ionic 1:
npm i --save-dev @ionic/cli-plugin-cordova@beta @ionic/cli-plugin-ionic1@beta

Thanks! - works! - might be sensible to add it to the changelog / upgrade doc.

Couldn't this even be automated? If plugin is missing, tell the user and ask him if he wants to install it. Would improve the upgrade experience by miles!

@jorgjanke 🍻
The notification will be automatic going forward. See https://twitter.com/mhartington/status/857039470943764482


Can not use WITH RECURSIVE in postgres

Environment

Elixir version (elixir -v):

Erlang/OTP 21 [erts-10.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]

Elixir 1.7.4 (compiled with Erlang/OTP 21)

Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.):
postgres:9.6-alpine
Ecto version (mix deps):

* ecto 3.0.3 (Hex package) (mix)
  locked at 3.0.3 (ecto) 018a3df0
  ok
* ecto_sql 3.0.2 (Hex package) (mix)
  locked at 3.0.2 (ecto_sql) 0e04cbc1
  ok

Database adapter and version (mix deps):

* postgrex 0.14.0 (Hex package) (mix)
  locked at 0.14.0 (postgrex) f3d6ffea
  ok

Operating system:
alpine

Current behavior
Running this method with ecto 2.2 was perfectly working
  def get_root_parent(context_id) do
    from(
      c in __MODULE__,
      join:
        ct in fragment(
          """
          WITH RECURSIVE context_tree(context_id, parent_id) AS
          (
              SELECT context_id, parent_id
              FROM context
              WHERE context_id = ?
            UNION ALL
              SELECT ctx.context_id, ctx.parent_id
              FROM context_tree ct, context ctx
              WHERE ctx.context_id=ct.parent_id
          )
          SELECT * FROM context_tree
          """,
          type(^context_id, Ecto.UUID)
        ),
      on: ct.context_id == c.context_id,
      where: is_nil(c.parent_id)
    )
    |> Repo.one()
  end

Since I update to ecto 3.0 I m getting error when executing the test suits
 56) test Context DB layer CRUD tests Get root parent context (SelectChat.Chat.Db.ContextTest)
     test/select_chat/chat/db/context_test.exs:25
     ** (Postgrex.Error) ERROR 42601 (syntax_error) syntax error at or near "WITH"

         query: SELECT c0."context_id", c0."parent_id", c0."group_context_id", c0."type", c0."role", c0."deleted", c0."lock_version", c0."inserted_at", c0."updated_at" FROM "context" AS c0 INNER JOIN WITH RECURSIVE context_tree(context_id, parent_id) AS
     (
         SELECT context_id, parent_id
         FROM context
         WHERE context_id = $1::uuid
       UNION ALL
         SELECT ctx.context_id, ctx.parent_id
         FROM context_tree ct, context ctx
         WHERE ctx.context_id=ct.parent_id
     )
     SELECT * FROM context_tree
      AS f1 ON f1."context_id" = c0."context_id" WHERE (c0."parent_id" IS NULL)
     code: %Context{context_id: persisted_pcid} = Context.get_root_parent(context_id)
     stacktrace:
       (ecto_sql) lib/ecto/adapters/sql.ex:595: Ecto.Adapters.SQL.raise_sql_call_error/1
       (ecto_sql) lib/ecto/adapters/sql.ex:528: Ecto.Adapters.SQL.execute/5
       (ecto) lib/ecto/repo/queryable.ex:147: Ecto.Repo.Queryable.execute/4
       (ecto) lib/ecto/repo/queryable.ex:18: Ecto.Repo.Queryable.all/3
       (ecto) lib/ecto/repo/queryable.ex:66: Ecto.Repo.Queryable.one/3
       test/select_chat/chat/db/context_test.exs:31: (test)

It seem that RECURSIVE keyword is not usable anymore?
Expected behavior
Should be able to use WITH postgres keyword

You need to explicitly wrap the SQL inside the fragment in parens:
 ct in fragment(
          """
          (WITH RECURSIVE context_tree(context_id, parent_id) AS
          (
              SELECT context_id, parent_id
              FROM context
              WHERE context_id = ?
            UNION ALL
              SELECT ctx.context_id, ctx.parent_id
              FROM context_tree ct, context ctx
              WHERE ctx.context_id=ct.parent_id
          )
          SELECT * FROM context_tree)
          """,
          type(^context_id, Ecto.UUID)
        ),

We were used to do it automatically but that broke some queries, so users need to explicitly wrap it now.

Btw, this is listed in the CHANGELOG but I agree it is easy to miss it. So no worries.


Port the battle sequence from Augmented Tactics

Take the implementation relevant to the battle sequence in the previous prototype and port it using the FP paradigm with F#. To handle the different states in the battle sequence, a server should receive states every time an update is made and update the global game state.

[ ] Port Move action

[ ] Port Attack action

[ ] Port Defend action

[ ] Port Rotate action

[ ] Port Skip turn action

[ ] Port End turn action

[ ] Implement action points. Action points will limit how much ground a character can cover in a turn and if he/she can possibly attack during his/her turn for instance.

[ ] Add special moves for each different character class and set action points for each

While porting the different action possible during the battle sequence, it would be best to gray out actions that can only occur at specific phases of the sequence. Moreover, in order to not impact the main thread, the actions should be handled and performed by an async workflow. Right now, I will use the MailBox processor from FSharp Core. At a later moment, when issue #5 is started, I will re-designed that part in order to let the that server do the work.

Will consider this close for the moment, I will come back to this issue at a later moment.


Fixes

Here are some Fixes

Sorry, I didn't see this. I think I've got everything working in #220.
I took out the JS management of width and height because it seems like we can do everything we need to in CSS, but let me know if I missed anything.

I changed some stuff around in this PR, everything should be working so you can use it for reference.
I removed the settings variable for the cursor and just used the shadowroot attribute to keep track.
I have it setup so the cursor goes to "disabled" on disconnect. But I am guessing that is not something you care for.
I couldn't get the full screen to work without JS, every time I make changes it causes issues somewhere else. Kind of like that family guy meme where he is fighting with the blinds.

I tried this branch, but it shows an expanded screen in non-fullscreen (as of 7529b14331b6dd511ebca5b41fa9339a6e7aee68):

I have it setup so the cursor goes to "disabled" on disconnect. But I am guessing that is not something you care for.

Oh, I keep forgetting that. It's a little confusing because I didn't see it in the cursor CSS rules. I'll add that back.

I pushed the fixes for the full screen. I had copied your modified CSS and I didn't realize it broke the setup I had going.


For the single server / hyperscale PG DB...

There is not enough documentation on what happens when a AZ that is hosting the service fails..region is still up; will the PG service come up in another AZ?

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

ID: 0eb2cae6-197f-94b4-53ba-12f99dff5a4e
Version Independent ID: 259006d1-760e-b2fa-d0bb-6e952b951e3a
Content: Business continuity - Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/concepts-business-continuity.md
Service: postgresql
GitHub Login: @sr-msft
Microsoft Alias: srranga

@varunsharmas Thank you for bringing this to our attention, As you can see, both singe server and hyperscale have separate documentation pertaining to business continuity and high availability and so, I am going to make this a single server specific issue under the specific document that speaks to this subject matter. The hyperscale (related) document: High availability in Azure Database for PostgreSQL – Hyperscale (Citus) where an issue can be filed specific to that topic/doc.

@varunsharmas [Continuing the conversation ...] The solution here is a new Azure Database for PostgreSQL service that addresses your concerns. Please see the Flexible server (service) : Overview of business continuity with Azure Database for PostgreSQL - Flexible Server
As for the single server business continuity document and based upon the Flexible server offering a more seamless experience for zero downtime applications, single server (and Hyperscale) have some limitations in this area. I will have the content team look for enhancements to communicate the options to help explain and cover the gaps.

Hi Mike,
Flexible server does not provide for horizontal scaling i.e it does not support read replicas.
I read that it provides the capability of logical replication; trying to understand if I can create a parallel instance using the same (for reads)

Hello @varunsharmas , thanks for reaching out.
For Azure PG - Single Server, it does not provide zone redundancy. If the AZ is down, the service would be down. Read replicas can be used for DR purposes - though the replica may lag primary due to Async replication.
Regarding Flexible server (in preview) and read replicas, we are looking into adding the capability. You may use logical replication, but there are limitations - like no support for DDLs, nologged tables etc.
Are you looking for a solution that provides AZ-level fault protection or scaling out for read queries/performance?
Regards
Sridhar

Thanks Sridhar!
I am looking at both.. availability across zones & capabilities to scale
reads out to reduce bottlenecks in larger DBs.
(QQ.. the 3 copies of Single/HyperScale.. are they all on the same AZ??)
On Mon, 12 Oct 2020 at 15:25, sr-msft<EMAIL_ADDRESS>wrote:

Hello @varunsharmas https://github.com/varunsharmas , thanks for
reaching out.
For Azure PG - Single Server, it does not provide zone redundancy. If the
AZ is down, the service would be down. Read replicas can be used for DR
purposes - though the replica may lag primary due to Async replication.
Regarding Flexible server (in preview) and read replicas, we are looking
into adding the capability. You may use logical replication, but there are
limitations - like no support for DDLs, nologged tables etc.
Are you looking for a solution that provides AZ-level fault protection or
scaling out for read queries/performance?
Regards
Sridhar
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/64249#issuecomment-707328693,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLEFP4AW6TXI7QCX6K2FMTSKNQ5DANCNFSM4SNFXE3Q
.

Also, the red replicas; are they also in the same AZ (if within region) or are spread across AZs

Regarding 3 copies, I presume you are referring to the storage. They are confined to an AZ.
Regarding your read replicas question,

With single server, you can choose the same region, but not the AZ. So, the replica can land in the same AZ or a different AZ within the same region. You can also choose a different region for DR.

For Flexible server, since it currently allows choosing AZ for the primary, would it help if you are able to choose the AZ for the replica? I can take that as a requirement as we develop the feature.

Thanks for your answer; choosing the AZ would allow for planning co-location of relevant applications together in HA scenario's.. shall help both from latency & cost perspective (once Azure starts charging for inter AZ traffic)

Got it. Thanks for sharing your requirements, @varunsharmas.

@varunsharmas We will be going ahead and closing this issue. Please let us know if you have any other question.


Disable FunctionPtrTest CoreCLR Test

Please see issue https://github.com/dotnet/corert/issues/3408

Thanks! The fact that this was passing before is pretty suspicious.


[Feature request] CC module for Hide Jailbreak option

Would be extremely useful since it would save some time and make it more easy to activate the option

The vnodebypass tweak has exactly this!

Second that.
Since dopamine has the OFFICIAL support to temporarily hide the jailbreak, I have no idea that no one including the opa334 himself does not plan to develop a shortcut to activate this function, just as what vnodebypass has done. It’s really brilliant to activate/deactivate by a CC toggle. Maybe they had less bank apps installed, lol. But sooner or later, most bank apps are going to detect rootless jailbreak, just like the old rootful days.
So I kindly ask opa334 to consider this request.
As for the alternative vnodebypass right now, the ‘USE IT AT YOUR RISK!’ opening sign really scared me, lol.

Second that. Since dopamine has the OFFICIAL support to temporarily hide the jailbreak, I have no idea that no one including the opa334 himself does not plan to develop a shortcut to activate this function, just as what vnodebypass has done. It’s really brilliant to activate/deactivate by a CC toggle. Maybe they had less bank apps installed, lol. But sooner or later, most bank apps are going to detect rootless jailbreak, just like the old rootful days. So I kindly ask opa334 to consider this request. As for the alternative vnodebypass right now, the ‘USE IT AT YOUR RISK!’ opening sign really scared me, lol.

I think the most convenient and ideal way would be to just use RootHide version of Dop2, as it eliminates the need to constantly hide the jailbreak (and still, even this has its own drawbacks)

Yes, indeed. But I tried and gave up many times at the thought of having to do too many conversions for tweaks at the risk of the compatibility, lol.


WIP: Dylan improved parsing

PR description:
Still work in progress, but figured can discuss changes as they come.
I have added a test suite (Test directory) that is used to easily add an lhe's text directly to the lhegroup reader without having to run things through cmsRun. This test suite is the end all be all, but it is what I'm using for a majority of my validation right now.
There are also plenty of debug statements in the code that I'll be cleaning up as I get a more firm fixing on issues.
Right now, the code can read in PDF adn Scale groups and understand them relativitely well. Some tests still have to be done on all of the test files, but it seems to work by and large. PdfInfo is now read in from the LHAPDF path
questions: How does one decide what type a PDF is? There doesn't seem to be (by my eye) information for decide if a PDF set is Hessian, variation, MC, etc, so all the sets are Unknown right now. what is the easiest way to extract this information?
Proper splitting of the pdf sets is needed as well (the split pdf function isn't being used right now) and that will be one of the next steps

Would close this in favor of #12


update nlopt in solve.jl

Hi,
I hope this helps: There seems to be a small bug when using the NLopt solver, which should be fixed by this.
The problem is that for gradient-based algorithms, the solver does not converge. It can be recreated with this example (on 0.4.4 and Julia 1.5.3):
using GalacticOptim, NLopt
f(x,p) = x[1]^2 + 1.0
x0  = [10.0]

obj = OptimizationFunction(f,GalacticOptim.AutoForwardDiff())
prob = OptimizationProblem(obj,x0)
sol = solve(prob,Opt(:LD_LBFGS,1))

Looks like an unrelated test failure. @Vaibhavdixit02 do you know where that comes from?

Seems like the bounds for IPNewton were set such that starting values were outside. Test should now pass (at least it does for me)


Update riscv_compliance to riscv/riscv-compliance@5a978cf

Switched from VMEM to ELF files when loading the verilator simulation
Non-functional: Restructured the patch queue to be topic-oriented, not a timeline.

Are the vector table location and linker script path patches really not needed any more? Happy for this to land so long as it works.

Are the vector table location and linker script path patches really not needed any more?

The code is still there, only squashed into the "0002-Add-OpenTitan-target.patch".

thanks @imphil
Were you able to amend the history for the riscv-compliance repo..? Because when I tried, I kept on getting errors I didn't really understand.  It would be great if you can give me some pointers.


POL-241-Google-DNS-Plugin

Description
POL-241-Google-DNS-Plugin
Issues Resolved

Enhancement to support Resource Browser

Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

          2 Errors

:no_entry_sign:
google/google_cloud_dns/changelog.md:3: MD002 First header should be a top level header
google/google_cloud_dns/changelog.md:3: MD022 Headers should be surrounded by blank lines
google/google_cloud_dns/changelog.md:7: MD022 Headers should be surrounded by blank lines
google/google_cloud_dns/changelog.md:5: MD032 Lists should be surrounded by blank lines
google/google_cloud_dns/changelog.md:9: MD032 Lists should be surrounded by blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
File syntax check failed. google/google_cloud_dns/google_cloud_dns.rb.

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger

@SheikSena the README markdown needs to be fixed

Closing as OpenAPI Plugins are preferred.


Stats Module Crash: "Type Error: A float is required"

2015-09-03 13:45:35 :: cherrypy.error.34482905040 :: ERROR :: [03/Sep/2015:13:45:35] HTTP
Traceback (most recent call last):
File "/usenet/htpc-manager/libs/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usenet/htpc-manager/libs/cherrypy/lib/encoding.py", line 217, in call
self.body = self.oldhandler(*args, **kwargs)
File "/usenet/htpc-manager/libs/cherrypy/lib/jsontools.py", line 63, in json_handler
value = cherrypy.serving.request._json_inner_handler(*args, **kwargs)
File "/usenet/htpc-manager/libs/cherrypy/_cpdispatch.py", line 61, in call
return self.callable(*self.args, **self.kwargs)
File "/usenet/htpc-manager/modules/stats.py", line 250, in processes
r_time = datetime.now() - datetime.fromtimestamp(p.dict['create_time'])
TypeError: a float is required
FreeNAS 9.3, FreeBSD 9.3 Jail.

Can I have the log as well?

.@thejrose1984 do you have the same issues?

Here'a the debug log http://hastebin.com/seyicamato.vhdl

@brando56894 I also posted a script i want you to run, get the output.

That's python right? Can you post it on hastebin.com or something because I keep getting indentation errors (I hate python for this reason lol) even though I copying from Linux to FreeBSD.

@brando56894 https://gist.githubusercontent.com/Hellowlol/8eaf2f4b17bedc098e41/raw/969cbc02add162411ae18a53986c672838682d04/test_psutil_float.py

I had to download the actual file because copying it from hastebin was still giving me indentation errors, here's the output:
root@Usenet:/root# python test_psutil_float.py
1440301225.16
1440301258.63
1440301258.7
1441296469.8
1441303192.23
1441632211.43
1441632219.18
1441637113.12
1441333943.98
1441336749.37
1440719659.98
1440724011.45

That all floats...


#include  in world.h

Fixes #97

That's weird that I didn't get any complaints and I just compiled it for all three platforms.  Regardless, merged.

I have Qt 5.14.2, maybe its headers have changed in a way that QMap isn’t automatically included via any of the files included in world.h. I guess having it there explicitly is correct and won’t hurt.


docs: upgrade to nuxt 3.5

Docs is failing because of nuxt-component-meta that does not seem to work with Nuxt 3.5 (cc @farnabaz @Tahul )

Easy to reproduce in this branch by running npm run dev

Done in https://github.com/nuxtlabs/ui/pull/228


Incorrect district id for city "Akurana"

https://github.com/madurapa/sri-lanka-provinces-districts-cities/blob/2a31a14309c9d5fd8d3d739cd04011b7b5f86840/cities.sql#L1061
the above record "Akurana" city is part of Kandy district, hence the district code should be 2.

@madurapa I'm working with new PR. Please do not fix this until I open it.

@nmmanas  Thank you for the contribution!
Actually the correct ID for the Kandy district is 11

@nmmanas  this issue is fixed by @jayasanka-sack
Thanks, guys


I think what's happening when an index.lock sticks around is that an analysis process gets interrupted midstream and then the next job can't proceed. So I think simply ensuring that we clean up stray files should be good enough.

Ah yes, that’s a good idea!


Investigate "Failed to get status of deployment" error when using local git deployment

Seems to come up for local git users and often on their first deployment after the app sits for a bit.

Checked telemetry and this is actually happening for about the same number of local git users vs. zipdeploy (but obviously is a higher percentage of local git users since there's fewer of those).


[evm] string (vector) as a return value

move-to-yul does not support returning vector<u8>.

@rahxephon89 explained that the issue might be there only when a string literal is returned.


[Enhancement] Option to start players with 0 mana when selecting their class.

Is your feature request related to a problem? Please describe.
Some of my classes are not meant to start with Mana, but get the max possible Mana immediately after class selection.
Describe the solution you'd like
A config option to set player's mana to 0 when selecting a class.
Describe alternatives you've considered
I thought about using the "Value" condition to track the Mana instead of the actual Mana system, but this is way too confusing for players.
Additional context
Goflish and I discussed this as a potential new feature on the Discord.

I think when I was swapping classes that I started with 0 mana? Same with select but someone can confirm this


Named option for hold appointment?

Since hold appointment is optional for the server and client should it be a named option so it's easier to find testing partners for connectathon?  And easier to see what is supported from an integration statement?

Added an open issue.

Added an open issue.


Possible password reset issue.

setPasswordAttribute is a function supposed to set password as encrypted hash when register happens via User model.
As the function was necesary in previous versions of laravel, in laravel8 it may couse serious problems as malfunctioning of Password Reset Functions of laravel auth.
https://github.com/ozdemirburak/laravel-8-simple-cms/blob/794b52b671f4f916481a2385c7402138a2a1689f/app/Models/User.php#L43

I'd be happy to accept your PR that will fix this issue.

Well at this point I am not sure the solution I applied for my project is applicable in every other situation since I inclıded laravel ui auth onto the login controllers of this project.
Anyways the solution for me was simply to remove mentioned line of code.


LINK-1648 | 1/3 MenuDropdown component

Description
MenuDropdown component which is used to select action in attendance list and signups pages
This one of the 3 PRs that will implement signups page. PRs are splitted to following parts:

MenuDropdown component
Attendance list page action buttons (https://github.com/City-of-Helsinki/linkedregistrations-ui/pull/96)

Partially closes
LINK-1648
Screenshots

Codecov Report

Merging #95 (5300bad) into develop (51d5dd7) will decrease coverage by 0.08%.
The diff coverage is 98.42%.

@@             Coverage Diff             @@
##           develop      #95      +/-   ##
===========================================
- Coverage    99.64%   99.56%   -0.08%
===========================================
  Files          151      157       +6
  Lines         2820     3011     +191
  Branches       455      498      +43
===========================================
+ Hits          2810     2998     +188
- Misses          10       13       +3

Files
Coverage Δ

src/common/components/menuDropdown/menu/Menu.tsx
100.00% <100.00%> (ø)

...mmon/components/menuDropdown/menuItem/MenuItem.tsx
100.00% <100.00%> (ø)

src/hooks/useDropdownKeyboardNavigation.ts
100.00% <100.00%> (ø)

src/hooks/useIsComponentFocused.ts
100.00% <100.00%> (ø)

src/hooks/useClickOrFocusOutside.ts
93.75% <93.75%> (ø)

...rc/common/components/menuDropdown/MenuDropdown.tsx
97.29% <97.29%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jorilindell If my user is not strongly identified and the action menu with a single disabled Merkkaa läsnäolijat button is used with up and down arrow keys (keyboard), my browser (Firefox) freezes completely and I need to stop the JavaScript execution to make the page work again

@jorilindell Noticed a possible serious bug: if my user is not strongly identified and the action menu with a single disabled Merkkaa läsnäolijat button is used with up and down arrow keys (keyboard), my browser (Firefox) freezes completely and I need to stop the JavaScript execution to make the page work again

Good finding. It's caused by infinite while loop in focusOption function in useDropdownKeyboardNavigation hook. Fixed the issue. Still have to do PR to Linked Components UI repo, where this same issue most probably exists as well.


chore(main): release 1.2.0

:robot: I have created a release beep boop
1.2.0 (2024-10-08)
Features

StaticWebsite returning more relaxed referrer-policy header and removed x-frame-options header (9c088aa)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.2.0
:sunflower:


[BUG]: CoE Power BI report (App usage) does not work after upgrade the CoE

I have upgraded the CoE to the last version (2.0.10) and the Audit log solution to the last one too ( 1.40).
Everything within the CoE (flows, apps, etc) is working fine. But the Updated Power BI Report is showing errors in one of its reports (App Usage) and as result one Tile (Apps Launch Trend) is not showing anything.
Component (please tell us which flow or app you are experiencing issues with):

Solution [Core]
Version [2.0.10]
Dashboard-PowerPlatformAdminDashboard-2021-04-08.pbit

To Reproduce
Steps to reproduce the behavior:

Go to Power BI and open the new report
Put the ORG URL
the dashboard syncs and refresh the data
most of the reports work fine, but the App Usage report shows an error.

Expected behavior
The App Usage report will work fine and shows all the tiles correctly.
Screenshots

Hello,
we're in the process of moving the CoE Starter Kit from this repo (powerapps-tools) to it's own dedicated repo (coe-starter-kit). We are transferring issues to the new repo today, and you will receive responses from the new repo. The new repo URL is: https://github.com/microsoft/coe-starter-kit/issues
Sorry for any inconvenience this may cause
Manuela


Always build nasm-rs

Fixes #1330

Coverage remained the same at 83.177% when pulling 79a32e996cb010b41e9345476f0d6da0bf74b86c on rust-av:fix1330 into 12f041fc08caf6b8e9f6c034df8e2d7269dae296 on xiph:master.


Bash completion annotations for rollingupdates

This updates the generated bash completions for that either the --filename= or the --image flags will be automatically suggested to users.  As one of these is required for the command to be useful.

This is not ready for merge.  The shippable problem seems like it may be real. Will update after I dig deeper.

Cc @nikhiljindal @ironcladlou
This PR also enables kubectl to take multiple filenames. Please update the PR description and docs.

@bgrant0607 it does not though (at least it's not supposed to) as i check to make sure only 1 name was given an error if not.

fixed the test shown by shippable.  It does not have a change as @bgrant0607 was concerned.  While the command line will take a comma separated list, or even using -f multiple time, such an invocation will be rejected in the argument validation function.

lgtm, needs rebase

rebased.

rebased again (rebases due to changed in docs/, not in other code)


[Snowflake] | Ability to set a query tag for snowflake connections

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Ability to set a query tag for snowflake connections
Describe the solution you'd like
A clear and concise description of what you want to happen.
Ability to set a query tag for snowflake connections. This would provide more information for us in terms of monitoring usage and also to aggregate access history to provide for data governance.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
NA
Additional context
Add any other context or screenshots about the feature request here.
NA

Partially fixed in #4653.
Remaining - Views and columns


Let's put aiosparql under the aio-libs org on PyPI

See the details @ https://github.com/orgs/aio-libs/discussions/26.
For this, we'll need somebody with Owner privileges to either give me access on PyPI (the username there is the same — webknjaz) or be invited to the org by me (for that I'd need the username of such an individual).
As a bonus, this will also allow us to set up secretless publishing from GHA to PyPI and get rid of the in-repo secrets.
cc @cecton

I have sent you an invite for aiosparql on pypi.

It might be best to remove me from the maintainers of all aio-libs projects as I don't plan on doing more work on this. I was using this for my job back in the days but now I rarely write any Python at all.
I tried to login to pypi and it logged me in without password or anything because my email address has changed and the old one was refusing emails. I added the new email address but I think this could have been a serious security issue for all these years...

@cecton thank you! One of the reasons I'm consolidating the projects is so there's no single point of failure and the maintenance could continue when new people step up. I also wanted to get rid of the bot account on PyPI being the uploader.
I have moved the project and reduced everyone's user-account privileges. I also deleted the bot account.
Regarding the security issue of you having access — it's not a concern anymore as I have set the requirement to have 2FA enabled now. And it'll be required for everyone (to do uploads) in 2024. So I'm fine with keeping you on the list of maintainers on PyPI — it's a nice badge for you, while not being a security problem.
I'll keep this open for the time being — until the secretless publishing is set up in the repo.


(fix) queryset attr evaluates to False when empty

Fix for bug in get_queryset() where the queryset attribute is set, but evaluates to empty list, causing ELSE to be triggered

Great, thank you!


Fastnlight: Watch products[\W_]+in[\W_]+india

Fastnlight requests the watch of the watch_keyword products[\W_]*+in[\W_]*+india. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

products[\W_]*+in[\W_]*+india has been seen in 8 true positives, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


[Bug]: After configuring cleanUrls, package and deploy it to nginx. After some paths are loaded normally, refreshing again will result in a 404 error message

版本信息
System:
    OS: Windows 11 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 22.06 GB / 31.69 GB
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (121.0.2277.112)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    rspress: ^1.0.0 => 1.11.2

问题详情
After configuring cleanUrls, package and deploy it to nginx. After some paths are loaded normally, refreshing again will result in a 404 error message

复现链接
https://gitee.com/TSGU-OSC/website/tree/build/
复现步骤
Configure cleanUrls: true in the configuration file, and then package and upload it to nginx to access some links. The first time is normal, but the second time will report a 404 error

After downloading the doc_build folder from the address on the link, place it in nginx, run nginx, and access the "Club Announcement". The first visit is normal, but after refreshing, it will be 404

Not only this announcement page, but also other pages are the same

Not only this announcement page, but also other pages are the same

https://github.com/web-infra-dev/rspress/issues/665#issuecomment-1963649280

Changing clearUrl to false will enable normal access

Not only this announcement page, but also other pages are the same

After you set cleanUrls as true, the links in doc will not include .html suffix, which makes nginx server failed to find the resource


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=632447561
https://github.com/Azure/azure-cli-extensions/commit/7142fd1ddbb2f82d09ea0e49adbb96f0802970d5

Docs Build status updates of commit e2ea6f2:
:clock10: Full build: the average full build time is 7 min(s) 8 sec(s), this is based on the last 339 build(s) for this repository.

Docs Build status updates of commit e2ea6f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


trigger running transition function before old state exits.

For example I have 2 states where from state_idle we trigger event to change to state_manual. Trigger is called in function on_state_idle.  Monitor log illustrating issue:

ENTER: state_idle_enter
EXIT: state_idle_exit
ENTER: state_manual_enter
STATE idle after trigger

Here I noticed that trigger function actually calls  Fsm::make_transition, witch will call state_idle_exit, and after that  state_manual_enter state transition functions.
Problem is that execution continues still in on_state_idle function witch produces my debug printout "STATE idle after trigger". Of course we cannot bail out from on_state_idle, but it would make more sense that transition would occur only when run_machine is called next time, witch would prevent above condition.
Thank you for this awesome library!

To add to this topic I think there should exist both, Asynchronous triggers and synchronous triggers.  Pull request I posted ( I'm not exactly C++ coder) is a example solution to allow both with few modifications.
Only thing missing is that there cannot be multiple synchronous triggers triggered in one iteration of run_machine as triggers as only last call will get excecuted.
What is your opinion on solution above?


feat: Add s3 upload output for capture

Description
This PR implement outputConfiguration.s3Upload feature.
Related Issue
#201
Checklist

[x] I have read the contributing documentation.
[x] I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
[x] I have correctly attributed the author(s) of the code.
[x] I have tested the changes locally.
[x] I have followed the project's style guidelines.
[x] I have updated the documentation, if necessary.
[x] I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed
I've tested it working well in the two environments below.
AWS s3
./bin/kubectl-retina  capture create --s3-region ap-northeast-2 --s3-bucket retina-test-bucket --s3-access-key-id my-access-key --s3-secret-access-key my-secret-key  --node-selectors "kubernetes.io/os=linux"  --debug

minio
./bin/kubectl-retina  capture create --s3-endpoint https://play.min.io:9000  --s3-bucket test-jrpark-bucket --s3-access-key-id Q3AM3UQ867SPQQA43P2F --s3-secret-access-key zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG --node-selectors "kubernetes.io/os=linux"  --debug

Additional Notes
Add any additional notes or context about the pull request here.

Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

Hi @parkjeongryul, was something committed here that shouldn't have been? I don't see it anymore, but it was flagged

Hi @rbtr, I have made some modifications regarding the signing of commits and trivial indentation.
Could you please let me know if there are still any issues?

Would you mind emailing<EMAIL_ADDRESS>and mention this? Thanks!

@rbtr
Could you help me understand which parts of this pull request are currently problematic? I don't think I'm understanding it very well. Could you please explain in more detail?

@parkjeongryul I don't think there's anything problematic in this change right now. But a security issue was flagged when it was opened, I can give you the details in email?

Sent the email to your address in your profile

Sent the email to your address in your profile

I've replied, but sending to<EMAIL_ADDRESS>seems to be blocked.

I will address the CI lint issues shortly and update the PR accordingly. Please hold off on further review until updated. Thanks!

@parkjeongryul Looks good to me. Thanks for the contribution. I'll approve it once the build is succeeding.

@spencermckee  I think that the CI lint issues have been resolved.


Search for sites and select=displayName not working

Search for sites does not mention the &select= parameter but it works for most field names, except select=displayName
First, try https://graph.microsoft.com/v1.0/sites?search=&select=
You'll see displayName being returned for all site items.
"value": [
    {
        "createdDateTime": "2017-07-29T02:18:22Z",
        "id": "m365x214355.sharepoint.com,5a58bb09-1fba-41c1-8125-69da264370a0,9f2ec1da-0be4-4a74-9254-973f0add78fd",
        "lastModifiedDateTime": "0001-01-01T08:00:00Z",
        "name": "m365x214355.sharepoint.com",
        "webUrl": "https://m365x214355.sharepoint.com",
        "displayName": "Office 365 Demos",
        "root": {},
        "siteCollection": {
            "hostname": "m365x214355.sharepoint.com"
        }
    },
...

Now try https://graph.microsoft.com/v1.0/sites?search=&select=id,displayName
You'll only see id
"value": [
    {
        "id": "m365x214355.sharepoint.com,5a58bb09-1fba-41c1-8125-69da264370a0,9f2ec1da-0be4-4a74-9254-973f0add78fd"
    },
....

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

ID: 7a2afc08-28e8-349c-ce6c-c0460113cdc8
Version Independent ID: 883fbf22-d581-a676-1a10-369a7a4c09fc
Content: Search for sites - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/site-search.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: MSGraphDocsVteam

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Hydration not work if page not visible and not active tab

Describe the bug
hydration after hard reload will not happened at all if you opened website and before see any content, immediately switch to any other browser tab page. it also happened to me on android google chrome.
To Reproduce
Steps to reproduce the behavior:

Scroll down and Go to 'Demos' section of Nuxt Speedkit Introduction
Open Grabarz & Partner website in new tab with middle click of mouse.
After few moments (e.g. few seconds) that sure server-side rendered content received and loaded switch to Grabarz & Partner tab.
You will notice that video of hero section doesn't play. also with scroll down any image and content will not show.

Expected behavior
Hydration on client side must happen even website tab/window is not visible and not active tab or loses focus.
Screenshots
https://imgur.com/a/uOc7f33
Desktop (please complete the following information):

OS: Windows NT 10.0; Win64; x64
Browser: Chrome 108.0.5359.73
Nuxt: 2.15.8
Nuxt-speedkit: 2.1.2

Smartphone (please complete the following information):

Device: SM-G781B
OS: Android 12
Browser: Chrome 108.0.5359.79

Hey @deasurv, were you able to fix this issue or find a workaround solution?

Hi @arincon9.
not actually, but I figured out bug happened due to usage of requestAnimationFrame in code for detecting reduced bandwidth/weak hardware.
Because requestAnimationFrame will pause the callback function passed to it from running, when web page tab is inactive/invisible for battery and cpu improvement.
If you want you can place  component in your app, so the popup will show to select continue app initialization or cancel it.
Let me know if you find a solution.
Thanks!

Fixed the problem. If document.hidden is true, waits for visibilitychange and then initializes.
Can be tested with nuxt-speedkit@beta.

Hey @ThornWalli.
updated to last version, bug fixed on Chrome Desktop, but still there on Android version.
to ensure, I tested on two variant phones with android 12 and 13 and even on Opera mobile browser.

Hello @deasurv,

with firefox on android both document.hidden and document.visibilityChange was on visible, although opened in new tab. Here the initialization ran into a timeout which was not caught, thus it stopped.
both chrome and opera (https://play.google.com/store/apps/details?id=com.opera.browser) run through on android for me.

I made another change, can you test this again?

@ThornWalli
tried latest beta. JS initialized on all mentioned browsers as expected. But when I ran PageSpeed in, project achieve same past scores when nuxt-speedkit was not installed!

I took back the initialization change.
This is a place that we can not change, the switch is needed. It is an important component except for the performance check.
The problem is a bit tricky.
With opening in a separate tab the case nuxt-speedkit-message-weak-hardware can occur.
This is intentional with PageSpeed but can be a side effect when opening a tab in the background. (Example Firefox (Android), this did not give me the document.hidden set or visibilityChange hidden is, accordingly one gets then in the together play with requestIdleCallback and requestAnimationFrame false values).
In this situation a solution must be found with the SpeedkitLayer with nuxt-speedkit-message-weak-hardware or https://nuxt-speedkit.grabarzundpartner.dev/caveats#prevent-speedindex_of_zero--and-no_lcp-.
Mentally the problem would be gone if we just start the initialization at document.hidden === true without a performance check. But I can't really get along with this idea.

Thank you both for looking into and testing this, I look forward to further updates on this issue. For now my team and I will be foregoing using Nuxt-Speedkit.

@deasurv Added again the possibility to force the initialization.
As long as browser supports this document.visibilityState and the hidden applies in the background tab is initialized immediately without Idle/AnimationFrame analysis.
{
  head () {
    return {
      script: [
        {
          hid: 'force-init-script',
          innerHTML: `if (document.visibilityState === 'hidden') { window.__NUXT_SPEEDKIT_FORCE_INIT__ = true; }`
        }
      ],
      __dangerouslyDisableSanitizers: [
        'script'
      ]
    };
  }
}

Missing initialization on hidden tab is published.
The issue with initialization can also have other backgrounds, see here https://github.com/GrabarzUndPartner/nuxt-speedkit/issues/752


Add option for fieldnorm

Description
This PR makes the fieldnorm feature optional as it was done in the tantivy library (refer: https://github.com/quickwit-oss/tantivy/pull/1001). The index configuration now supports fieldnorms field which can be set to a boolean value and by default is set to false.
Closes #1134
How was this PR tested?

Created a custom wikipedia index with the fieldnorms option enabled and found that the configuration was being serialized without any errors.
Wrote a test to check if the case when the FieldMappingType is Text, whether the index options for fieldnorms are set to true or not for the passed json with fieldnorms set to true.

Signed-off-by: Mehul Arora<EMAIL_ADDRESS>

@infiniteregrets cool! To test it completely, that would be awesome to follow these steps:

index Wikipedia datasets with fieldnorms
index Wikipedia datasets without fieldnorms
use the CLI to extract a split and look at the different tantivy files. You should find a .fieldnorm file and the size should be almost 0 without fieldnorms.

Okay sure, I will test it out. I am actually missing the default fieldnorm setting for different types like i64, u64 etc. so I will fix that first

sounds good. @infiniteregrets did you try to index with and without fieldnorms?

Thank you @infiniteregrets


notify.d.ts: $ele should be of type JQuery

I'm quite new to TypeScript but it seems to me, that the type of INotifyReturn.$ele should be JQuery instead of JQueryStatic.
At least it is perfectly valid to call methods like on("click", () => r.close()) on it, which is not possible with the JQueryStatic, though.

I am really sorry but I am unable to help you. I honestly have no idea what TypeScript is. It was a pull request made by some other dude. I don't support it, in fact it wont even be in version 4 that I plan on releasing next month.
I am truely sorry. If you are able to resolve the issues and make a pull request I would be happy to merge them, but I do not plan to support the TypeScript feature.