Device Names not populated

I am using Homebrdige deCONZ v1.0.7 I noticed already on earlier version that when I pair a new device (sensor, light, ...) Phoscon App first sets a generic name, like Temperature101. After renaming it in Phoscon I still see the old name in Homebridge. Even after rebooting.
I then manually change the name on my iOS to reflect the correct device.
But now I see that in the log file of Homebridge it shows an old name (not the generic name), but I renamed it in Phoscon. Am I missing something or is this a bug?
In Phoscon my new device is called "Sicherung", on API the same:

but on homebridge log it still shows under old name:

See https://github.com/ebaauw/homebridge-deconz/issues/168#issuecomment-1730926062

@ebaauw wow you are fast :-) thanks for the link to the comment #168 (comment) I guess we were spoiled by your previous solution where the names got updated nicely. But no worries, will make sure I track the naming translation somewhere :)


Add option to log requests

Logging is disabled by default. When logging is enabled, log files will be
rotated daily.
Settings added:

logRequests: boolean: Whether requests should be logged. Default: false.
logFile: string: File to log requests to. Default: requests.log.
logMaxFiles: integrer: Number of log files to keep. Default: 31.

Library used: https://www.npmjs.com/package/logger-request

This patch set builds on https://github.com/WoodWing/elvis-image-recognition/pull/3

Because of the changes to the configuration file for the "health check" patch set, there would be merge conflicts. I thought I'd avoid that. Once that one gets merged, this one will become cleaner.

Cleaned up and documented in https://github.com/WoodWing/elvis-image-recognition/pull/10.


Hydra compile issues in Xcode 13

It seems because of the use of await function in Hydra source code, any code referencing Hydra would fail to compile in Xcode 13.

Have you tried 2.0.6. You should use Hydra.await instead of await

Confirmed adding
    return try Hydra.await(in: context, promise)

Enables compilation in Xcode 13.
Without modifying pod code is there a prescribed way to incorporate this change?


nm: Fix incorrect device-reapply call

When creating OVS port for OVS system interface, nmstate use the same name
for both OVS system interface connection and OVS port connection, the
org.freedesktop.NetworkManager.GetDeviceByIpIface will return unexpected
NmDevice when we try to do device-reapply call.
To fix this issue, all NmApi::connection_reapply() call should search all
existing NmDevice by both interface name and type.
To achieve that this patch unified the NmDevice.iface_type (integer) with
NmConnectionSetting.iface_type (string) into enum NmifaceType.
Integration test case included.
Resolves: https://issues.redhat.com/browse/RHEL-50556

I have waited long enough and this PR is also tested by our support engineer in lab. Force merging.


Work Package wp-ma.csv

I would like to work on this please!

Results of Phase 1
wp-ma-results.csv

Paper
mins

Rodrigo Morales, Rubén Saborido, Foutse Khomh, Francisco Chicano, Giuliano Antoniol
120

Sahil Bhatia, Pushmeet Kohli, Rishabh Singh
60

Zhilei Ren, He Jiang, Jifeng Xuan, Zijiang Yang
30

Sonal Mahajan, Negarsadat Abolhassani, Phil McMinn, William G. J. Halfond
30

Rijnard van Tonder, Claire Le Goues
30

Xuan-Bach D. Le, Ferdian Thung, David Lo, Claire Le Goues
30

Kaiyuan Wang, Chenguang Zhu, Ahmet Çelik, Jongwook Kim, Don S. Batory, Milos Gligoric
30

I completed this work package

I would like to work on this please!

Results of Phase
wp-ma-results.csv
2

I completed this work package.

I would like to work on this please!

Results of Phase 2
wp-ma-results.csv

[Updated] Results of Phase 1
wp-ma-results.csv

Results of Phase 2
wp-ma-results.csv


pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,21] but attempted to decode with [1,20].

MWE (using latest dev versions of pandoc and pandoc-citeproc, installed as described here):
pandoc -s -F pandoc-citeproc -t plain << EOT

Foo [@item1].

---
references:
- id: item1
  type: book
  title: The title
...
EOT

Output:
pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,21] but attempted to decode with [1,20].
CallStack (from HasCallStack):
  error, called at ./Text/Pandoc/JSON.hs:112:48 in pandoc-types-1.20-BUPf2Tq5atP8Lb94Ld23Jj:Text.Pandoc.JSON
Error running filter pandoc-citeproc:
Filter returned error status 1

This happens when you use a filter (in this case pandoc-citeproc) that is compiled against a different version of pandoc-types than pandoc.
Solution is to build them both at once.  You can do that by cloning the pandoc repository and doing stack install pandoc pandoc-citeproc.  Or just grab a nightly from the Actions tab; these contain both pandoc and pandoc-citeproc.
Meanwhile we should update the build info here.

I have the same problem with the following versions of pandoc and pandoc-citeproc:
pandoc 2.11
Compiled with pandoc-types 1.22, texmath <IP_ADDRESS>, skylighting <IP_ADDRESS>
pandoc-citeproc <IP_ADDRESS>

I tried to build them both at once :
$ stack install pandoc pandoc-citeproc
Downloading lts-16.22 build plan ...
RedownloadInvalidResponse Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = []
  path                 = "/fpco/lts-haskell/master//lts-16.22.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 "/home/nicolas/.stack/build-plan/lts-16.22.yaml" (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Connection","keep-alive"),("Content-Length","14"),("Content-Type","text/plain; charset=utf-8"),("Content-Security-Policy","default-src 'none'; style-src 'unsafe-inline'; sandbox"),("Strict-Transport-Security","max-age=31536000"),("X-Content-Type-Options","nosniff"),("X-Frame-Options","deny"),("X-XSS-Protection","1; mode=block"),("Via","1.1 varnish (Varnish/6.0), 1.1 varnish"),("X-GitHub-Request-Id","C4EC:13A6F:227812B:2427F91:5FB38AF7"),("Accept-Ranges","bytes"),("Date","Tue, 17 Nov 2020 08:33:59 GMT"),("X-Served-By","cache-cdg20720-CDG"),("X-Cache","MISS, MISS"),("X-Cache-Hits","0, 0"),("X-Timer","S1605602040.703692,VS0,VE150"),("Vary","Authorization,Accept-Encoding"),("Access-Control-Allow-Origin","*"),("X-Fastly-Request-ID","ef697c1e9e9663b41cc52457b5fdc9ca17f710f0"),("Expires","Tue, 17 Nov 2020 08:38:59 GMT"),("Source-Age","0")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose})

Any idea how to solve this ?
thank !

pandoc-citeproc is no longer needed when using pandoc 2.11. See the changelog of that version.


Publish a new version for updated typings

Hey folks,
Can we have a new version of the package from the latest master?
It'd be nice to have the updated typings from #536 published.
/cc @florianreinhart

Done!

Thanks & Cheers


ListWidget: Accept ListFormatter reference instead of separate  and

All of those commits are meant to be refactors so there should be no change in behaviour.
Most of the commits are just there to make https://github.com/newsboat/newsboat/commit/f524e9407cc4ef692da7f50c88ace2780ca6e3c1 possible.
https://github.com/newsboat/newsboat/commit/a2ad4b7712360e4791d7b79b8267cbb0524f2baf is just an opportunity I saw while making the other changes, if needed, I can submit that commit separately.
These changes don't have much impact and might take some time to review.
@Minoru: Let me know if you rather don't want me to make these kind of changes (relatively high number of lines changed compared to the amount of improvement).

Rebased to test https://github.com/newsboat/newsboat/pull/952#issuecomment-633082941

Coverage increased (+0.03%) to 56.368% when pulling 4c63c7419f278792cc362fd6afb0e4f2059e39de on dennisschagt:feature/use-listfmt-in-listwidget into d16892fec7855340a24b147a71898a86db761aa4 on newsboat:master.

Thanks for the review!


Test pixi support

Refs: #22978

[ ] macOS @bpasero
[ ] linux @connor4312
[ ] windows @joyceerhl

Complexity: 5
Create Issue

Requirements:

Latest Python extension pre-release
Have a working pixi installation (>0.24.1), installation instructions can be found here: pixi.sh.

Test that Pixi environments are discovered and activated

Open a new empty workspace folder.

Open a terminal in the workspace and run the following commands to initialize a pixi project with a python interpreter:
pixi init .
pixi add python session-info

Add an script.py file to the root of the workspace and open it (the contents doesnt matter).

Add the following content to the script.py:

import session_info
session_info.show()

import os
print(os.environ["CONDA_PREFIX"])

Verify that a default interpreter has been selected that points to python interpreter in the .pixi\envs directory of the workspace. Its type should be Pixi.
Run the script using the play icon on top right:

The file is successfully run and prints the session info:

Open a new terminal: If you have the python.terminal.activateEnvrionment setting set to true , the environment should be activated:

You can check this by checking the location for python
python -c "import sys; print(sys.prefix)”
You can also check for the CONDA_PREFIX variable or the PIXI_* variables

Test multiple environment configurations

Add another environment and install it:

pixi project environment add test
pixi install --all

Selecting the interpreter selector will now show you two environments default and the newly added test

Your old terminal should warn you that the Python extension want’s to relaunch your terminal:

Clicking the Relaunch terminal should result in a newly activated environment.
Print the value of the environment variable CONDA_PREFIX to the terminal (echo $CONDA_PREFIX using bash, echo %CONDA_PREFIX% when running Batch, or $Env:CONDA_PREFIX when using Powershell). Check that that the environment location has indeed changed to the test environment (.pixi/envs/tests):

Test with pytest
Because pixi doesn’t by default install pip the pytest installation needs to be handled by pixi .

Add a simple test file: test_python_testing.py
def test_true():
    assert(True)

def test_false():
    assert(False)

Select the testing icon:

Select Configure Python Tests
Select pytest and the . Root directory:

This should install pytest for you through the terminal:

You likely need to refresh the Testing tab to sync the just installed pytest with the window:

Select any of the Play icons to start the tests, which should result in a failing and succeeding test:

/cc @baszalmstra @tdejager

Some of my issues are likely setup issues that should have been better spelled out here in the test plan item. Otherwise the later steps in the test plan item where easy enough to execute.


Document that split start and end timestamp are always set in seconds

Regardless of the timestamp field unit given in the doc mapper.
This is not intuitive and we should add the info on all all API endpoints and the CLI command.

I don't understand. Can you edit the title?


Allow subdocument replacement with $set operator

With {"$set": {"subdocs.2": {...}}} you can replace the third sub-
document referenced by "subdocs"

Thanks!


Add mathiask88 as contributor

Again from mobile,  cause I'm sick in bed. Hope without typos :)

+1 :)


Docker image is missing libaio1 so running Garnet with --use-native-device-linux does not work

Describe the bug
Running garnet using the image generated from the Dockerfile with --use-native-device-linux fails with the following error
Unable to initialize server due to exception: Unable to load shared library 'runtimes/linux-x64/native/libnative_device.so' or one of its dependencies. In order to help diagnose loading
problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:

libaio.so.1: cannot open shared object file: No such file or directory

Steps to reproduce the bug

build image podman build . -t local/garnet
run garnet podman run --rm local/garnet --use-native-device-linux -r --aof -l /data --storage-tier
get the above error

alternatively

podman run --rm ghcr.io/microsoft/garnet:sha-1f7e6d3 --use-native-device-linux -r --aof -l /data --storage-tier
get the above error

Expected behavior
No response
Screenshots
No response
Release version
commit dd31566ae8cf9c538ba08b739a416b2741ad08f8
IDE
No response
OS version
linux
Additional context
The following patch fixes the issue by installing libaio1 in the image
diff --git a/Dockerfile b/Dockerfile
index f69bd103..898a7629 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,6 @@
+FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
+RUN apt-get update && apt-get install -y libaio1 && apt-get clean && rm -rf /var/lib/apt/lists/*
+
 FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 ARG TARGETARCH
 WORKDIR /src
@@ -28,7 +31,7 @@ WORKDIR /src/main/GarnetServer
 RUN dotnet publish -a $TARGETARCH -c Release -o /app --no-restore --self-contained false -f net8.0

 # Final stage/image
-FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
+FROM runtime
 WORKDIR /app
 COPY --from=build /app .

Thanks for raising this! This has been fixed for all Linux images except chiseled (for which the Linux native flag remains unsupported at the moment)


Elise nppt patch 1

Merging Trinh's formatting updates to TSM branch

Opened pull request in error - closing request


Please invite me to the GitHub Community Organization

Name
Billy
Discord Username (if applicable)
No response
Additional Context
Hello Everyone.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


left_sidebar: Add option to hide summary unread counters.

Adds a user-configurable option to hide unread counters in the left sidebar. Users now have the flexibility to choose whether they want these counters displayed or hidden, reducing distraction for those who find them disruptive.
Fixes: #28759

Screenshots and screen captures:
Show/Hide Unread Counter Option:
Added a "Show unread counter" / "Hide unread counter" option as the second item in the home view menu.

Preferences Setting:
Added a "Show unread message totals on home view and streams" checkbox under SETTINGS / PREFERENCES > Advanced, just below the "Show unread counts for" setting.

When "Show Unread Counter" is selected for "No streams":

more Screenshots
Unread counters will not be visible in the left sidebar for streams.

When "Hide Unread Counter" is selected:
The counter will be displayed as a dot on both the home view and the STREAMS line.
The actual number will be revealed on hover.

Adjusted the logic to ensure consistency in displaying summary counters in the default left sidebar view and in "more topics"/"more conversations" views.
When "Show unread message totals on home view and streams" is enable:
More Conversations View:

More Topics View:

When "Show unread message totals on home view and streams" is not enable:
More Conversations View:

More Topics View:

Self-review checklist

[X] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[X] Explains differences from previous plans (e.g., issue description).
[X] Highlights technical choices and bugs encountered.
[X] Calls out remaining decisions and concerns.
[X] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[X] Each commit is a coherent idea.
[X] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[X] Visual appearance of the changes.
[X] Responsiveness and internationalization.
[X] Strings and tooltips.
[X] End-to-end functionality of buttons, interactions and flows.
[X] Corner cases, error conditions, and easily imagined bugs.

@akarsh-jain-790 Has this PR been updated with the latest #design suggestions? If so, please update the screenshots in the PR description, and post a summary comment here about the PR's status.

@alya Yeah, I have update the PR description and is now ready for the initial review.

Things go wrong when views are collapsed:

Please try to test your changes more thoroughly; https://zulip.readthedocs.io/en/latest/contributing/code-reviewing.html#manual-testing has some tips.

@alya I have updated the PR and description, can you please re-review.

@timabbott Thanks for the detailed feedback! I've addressed your comments and made the necessary updates to the PR. Let me know if you have any further suggestions.

@timabbott Marking for integration review, since you seem to be reviewing this one? Please feel free to re-delegate.

@akarsh-jain-790 any chance you're up for updating this following various refactoring that's been merged?

@akarsh-jain-790 any chance you're up for updating this following various refactoring that's been merged?

@timabbott  I've integrated the merged refactoring updates and the code is ready for your review.

@timabbott  I have fixed the test and PR is ready for review!

@akarsh-jain-790 are you up for rebasing this again?

@alya that's possible...it'll be easier to see more clearly once the existing conflicts here have been resolved.

@akarsh-jain-790 are you up for rebasing this again?

sure


Build and Run (In VSCode) not working on pre-compile

Hello! I use this instructions https://github.com/sumneko/lua-language-server/wiki/Build-and-Run-(In-VSCode)
When i open the repository directory by VSCode and run task PreCompile it shows me this error
`> Executing task: chcp 65001 && msvc_x64.bat <
Active code page: 65001
'msvc_x64.bat' is not recognized as an internal or external command,
operable program or batch file.
The terminal process "C:\Windows\System32\cmd.exe /c chcp 65001 && msvc_x64.bat" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.`
I am using Windows 10 and VSCode 1.55.0
I have Visual Studio 2019 with C++ installed

Also having this issue; I think the build commands are out of date.
There have been 2 changes to the location of this file:
First from msvc_x64.bat to compile/msvc_x64.bat https://github.com/actboy168/luamake/commit/8e79e012c9dc1ea712d60e98a6b4cd2b1f956fc0
Then from compile/msvc_x64.bat to compile/install.bat https://github.com/actboy168/luamake/commit/e566333862d10042b1a24dd00942cf47214445dc
After changing the Windows command to "chcp 65001 && compile\\install.bat" in tasks.json I can get past the PreCompile step.
Unfortunately from there more things are broken. I will keep trying to work through it.


run task hangs if output is too large

If a run task outputs too much data to stdout, it seems to hang with no notices or messages or anything.
Originally I thought it was related to maxBuffer, but it seems childProcess.spawn doesn't use that, so it shouldn't have issues itself.
Here is a test case that will replicate it:
Start with running "gulp test"
var
    childProcess = require('child_process'),
    gulp = require('gulp'),
    run = require('gulp-run');

gulp.task('test', function(done){
    var cmd = "gulp test-long";

    //This hangs rather quickly (usually at i=49
    run(cmd,{
        verbosity:3
    }).exec();

    //This never dies
    /*
    var subshell = childProcess.spawn('sh', [
        '-c', cmd
    ], {env: process.env});
    subshell.stdout.pipe(process.stdout);
    subshell.stderr.pipe(process.stderr);
    subshell.stderr.pipe(process.stderr);
    subshell.once('close', function (code) {
        //this is never called
        console.log('PROCESS PROPERLY ENDED');
    });
    //*/
});

gulp.task('test-long', function(done){
    var i = 0;
    setInterval(function() {
        //The longer this is, the sooner it dies.
        console.log("LOTS OF STUFF: " + i++);
        console.log("--------------------------------------------------------------------------------------------------------------------------------");
        console.log("--------------------------------------------------------------------------------------------------------------------------------");
        console.log("--------------------------------------------------------------------------------------------------------------------------------");
        console.log("--------------------------------------------------------------------------------------------------------------------------------");
        console.log("--------------------------------------------------------------------------------------------------------------------------------");
    }, 100);
});

I originally reported it incorrectly in #32

I've been fighting the exact same problem for a few hours now. I'm still far from being able to identify the root cause.

I have the same problem.
I run "return run('git -C .docs add --all').exec();" - the git command which supposed to commit all changes. If the amount of changed files is huge and output contains a lot of strings than it just hang and discontinue.

Currently appending  > /dev/null to commands to get around this (that's if you don't need the output).


Packages missing types conditional in package.json exports field.

The packages here has main, types, module and exports field. The exports field can contain the information from the other fields.
When using TyperScript with the moduleResolution: "bundler" setting, TypeScript will verify that all imports has an entry in the exports map, if the export map exists, and this includes the types entry.
In this repo the exports field doesn't add the types conditional, and errors with the following message:
packages/nova-dev-app-providers/src/DevAppProvider.tsx:5:26 - error TS7016: Could not find a declaration file for module '@graphitation/apollo-react-relay-duct-tape'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@graphitation/apollo-react-relay-duct-tape' library may need to update its package.json or typings.

5 import * as graphQL from "@graphitation/apollo-react-relay-duct-tape";
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error

The fix would be to add the types conditional for each entry in the exports map.

Pr for fixing the issue.


Added new swag opportunity

Added a new swag opportunity by Activeloop.
link to the issue: https://github.com/monizb/hacktoberfest-swag-list/issues/158

I'm not sure how to fix this.


haskell.compiler.ghc8104: add ghc-8.10.4

Motivation for this change
Add GHC 8.10.4.
Announcement: https://discourse.haskell.org/t/ghc-8-10-4-released/1847
I basically just copied pkgs/development/compilers/ghc/8.10.3.nix and renamed it 8.10.4.nix, then updated the hashes.  I tested that I could compile a couple big packages, like lens, conduit, and aeson.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build haskell.packages.ghc8104.aeson
@GrahamcOfBorg build haskell.packages.ghc8104.conduit
@GrahamcOfBorg build haskell.packages.ghc8104.lens
@GrahamcOfBorg build haskell.compiler.ghc8104

I can‘t judge this file by the looks of it, but if it’s just a copy I guess it’s fine.^^
When do we bump the default compiler? Maybe if we do it today the package set will be build until merge tomorrow?

When do we bump the default compiler? Maybe if we do it today the package set will be build until merge tomorrow?

Yes, I think we should do it today. It's probably going to work out fine. Minor release update have always worked smoothly in the past.


Reflector Material

Description
As a developer using TresJS, it'd be nice to be able to easily add reflections. Especially for floors, reflections show off user models nicely.
Three's and Cientos' Reflector goes part way, but doesn't have a few features, like optional blurring.
Suggested solution
Equivalent of Drei/R3F's MeshReflectorMaterial
Alternative
No response
Additional context
No response
Validations

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Update: there is an undocumented MeshReflectionMaterial in Cientos. But many of its features don't work. A PR with a rewrite was submitted: fix(MeshReflectionMaterial)!: add features/docs, reorganize #377
Closing here to avoid duplication.


arangodump does not dump graph definition

My Environment

ArangoDB Version:        3.4.9
Storage Engine:             RocksDB
Deployment Mode:       Single Server
Deployment Strategy:   Manual Start in Docker
Infrastructure:                local dev environment
Operating System:        MacOS 10.13.5
Total RAM in your machine:        16gb
Disks in use:        SSD
Used Package:     Official Docker

Component, Query & Data
Affected feature:
arangodump / arangorestore
Size of your Dataset on disk:
No Data, only collection and graph definition
Steps to reproduce

run arangodump:
arangodump --dump-data true --include-system-collections true --output-directory $arangopath --overwrite true
recover using arangorestore:
arangorestore --server.database $database --input-directory $arangopath

Problem:
Restoration succeed with all collections created but the graph and the graph definition does not restore (relations between nodes & edges)
Expected result:
Import of the graph definition will work as well as the collections
The arangorestore works well, but does not import the graph definition that was designed and should have been dumped as well when include-system-collections is true

Found the issue, for future reference if people are searching, within arangorestore there is a flag that needs to be true: --include-system-collections true
by default the flag is false and does not recover the graph definition


Improve LCP on product miniature with fetchpriority

Questions
Answers

Description?
In a Category listing page, if we set all miniature product images with loading=lazy we got an LCP issue because for sure the LCP is a miniature product image, in most cases. If we load first 4 images with fetchpriority=high we just tell to browser to load these images first and we fix the LCP issue and improve Web Vitals.

Type?
improvement

BC breaks?
no

Deprecations?
no

Well, this depends. If you have long category position, LCP element is the description, then why to load some miniatures below the fold?
Also, it would be maybe better to use smarty loop counter for this, maybe the category position property can be malfuctioned or something.

Hi @Hlavtox , I think in an e-commerce website is nice to have, and well considered by developers, to have on a listing page some products in first viewport height and not only just menu + category name and subcategories/description, if we have to scroll because we don't see products from 0 to ~800px it's a problem.
The $position coming from productlist.tpl
{foreach from=$products item="product" key="position"}
       {include file="catalog/_partials/miniatures/product.tpl" product=$product position=$position productClasses=''}
   {/foreach}

I think is the array index so it start from zero everytime, or it refers to product position in current category so it changes and can be different from zero? In this case we need to pass a smarty loop count as you say on this snippet.
Thank you for your revision and your time.


Item transfering bug

I have extra utilities generators and refined storage system and I use xNet to transfer Coal blocks fromt the interface to a generator. I have it setup to always keep 10 block of coal inside but everytime coal drops from 10 to 9 xnet takes whole stack of coal blocks, puts one block in the generator and the rest gets destroyed.
Generator should use 5 block of coal pre second but in my refined storage system it looks like it's using 128 blocks pre second.
Version: 1.10.2 xnet-1.1.2
Video: https://www.youtube.com/watch?v=GgvwPKINsyU

um, this is a confusing and rather complicated setup. Can you reproduce this in a simpler setup too?

OK. I will try it in my test world

https://www.youtube.com/watch?v=bC2xU2mmEHg
This shoul be simple enough

Checking it out now

Hmm, it works fine with other inventories. I'll check with RS

@raoulvdberge, I cannot reproduce this with regular inventories. As I haven't used RS yet I'm not sure exactly what is going on here. Could you check this and see what's the most likely cause for this problem in your opinion?

I don't know how XNet works so I have no idea either.


Feature suggestion - support for automatic or manual fallback to scrollLeft and scrollTop when using forms

It would be great to be able to tell ng-scrollable to use scrollLeft and scrollTop for cases when I want to put form fields inside it.
Please take a look at this example:
http://plnkr.co/edit/z42uJCNlXZErU5idrswj
Google Chrome browser scrolls automatically when focusing a field which is out of view, thus breaking ng-scrollable. If you have ideas how to fix it transparently for ng-scrollable users, it would be great. But as a workaround it would be just fine to have ability to fall back to scrollLeft and scrollTop (with ng-scrollable synchronizing its scrollbar positions to actual scrollLeft and scrollTop values, when they get changed by the browser) instead of CSS transforms when using forms.

Difficult. I'm seeing the very same issue since I started ng-scrollable. Just haven't had a good idea how to go about this. Focus events don't bubble, but maybe I can do smonthing during capture phase. I'll try. Any ideas are welcome.

I ended up adding legacyScrollMode: false, to global options and also added different template (using Angular's template cache feature). Sorry for chaotic code fragments, I was in a hurry; I hope it will be useful:
 angular.module('ngScrollable', [])
        .run(["$templateCache", Templater])

...  existing code omitted for brevity

    function Templater($templateCache) {

        var cssTransformsTmpl = "
\n\

\n\

\n\

\n\

\n\

\n\

\n\

\n\

";

        var legacyScrollTmpl = "
\n\

\n\

\n\

\n\

\n\

\n\

\n\

\n\

\n\

\n\

\n\

";

        $templateCache.put("ng-scrollable-css-transforms.html", cssTransformsTmpl);
        $templateCache.put("ng-scrollable-legacy-scroll.html", legacyScrollTmpl);
    }
...
return {
          restrict: 'A',
          transclude: true,
// dynamic template resolver before linking phase - I just learned that Angular supports such a nice feature
          templateUrl: function(elem, attrs){
             // determine which template to use, depending on
             // legacyScrollMode value
             var scrollOptions = attrs.ngScrollable || {}, config = null, templateUrl = null;

             if(angular.isString(scrollOptions)){
                 scrollOptions = $parse(scrollOptions)({});
             }

             config = extend({}, scrollOptions);

             if(config.legacyScrollMode){
                 templateUrl = "ng-scrollable-legacy-scroll.html";
             } else {
                 templateUrl = "ng-scrollable-css-transforms.html";
             }

             return templateUrl;
          },

...
            var dom = {
              window: element($window),
              el: el,
              content: config.legacyScrollMode ? element(element(el.children()[0]).children()[0]) : element(el.children()[0]),
              viewport: config.legacyScrollMode ? element(el.children()[0]) : null,
...

scrollTo = function (left, top) {
...
              if(config.legacyScrollMode){
                dom.viewport[0].scrollTop = contentTop;
                dom.viewport[0].scrollLeft = contentLeft;
              }
              else {
                dom.content[0].style[xform] = 'translate3d(' + toPix(-contentLeft) + ',' + toPix(-contentTop) + ',0)';
              }

...

            // new handler to sync form autoscroll with our legacy scroll positions
            handleAutoScroll = function(e) {

                // scrollTo will also debounce,
                // thus no recursive protection required

                // sync our pos with real one and also call spies etc.
                // similar as if scrolled with wheel
                scrollTo(dom.viewport[0].scrollLeft, dom.viewport[0].scrollTop);

                updateSliderX();
                updateSliderY();
            },

            registerHandlers = function () {
...
              // to sync form autoscroll with our scroll positions
              if(config.legacyScrollMode){
                dom.viewport.on('scroll', handleAutoScroll);
              }
            },

            unregisterHandlers = function () {
...
              if(config.legacyScrollMode){
                dom.viewport.off('scroll', handleAutoScroll);
              }
            };

Now it works also with forms and TAB key, if someone is desperate enough to give up on CSS transform scrolling.

Thanks for your suggestion. It seems quite involved and complex, so I was looking for something simpler.
Please have a look at v0.2.5. ng-scrollable now listens to the scroll event and adds scrollLeft/scrollTop offsets to the CSS translate attributes before resetting scrollLeft/scrollTop to 0. That way you can navigate forms using TAB key while still sticking to the core scrolling engine. There is a limitation though: TAB moves are restricted to forward direction (downwards and rightwards) because browsers don't set negative scrollLeft/scrollTop values and also don't emit scroll events then.
Please regard this as an intermediate solution. I'm working on something more general using focus events.

closing for age, also works for me http://plnkr.co/edit/090kvY2nMW3wkpWdVrGp?p=preview


Lack of callback when loading unsupported images

Hi,
As you may already know, when you load an invalid or unsupported image format you just get an error from the library (libvips I guess?).
Something like:
Error: Input buffer contains unsupported image format     at Error (native) null
I have found no way to know if this had happened (at sharp) in order to react appropriately.
Any ideas on how to fix/workaround this?

Hello, sharp doesn't start to process the input until it needs to, so it's the callback passed to the output-triggering toBuffer or toFile that will receive an Error as the first parameter should the input is unsupported.
Perhaps an initial metadata call would be more appropriate for your need?

You are right, a call to metadata before issuing any processing command is all that's needed.
Thank you and thanks for sharp. 👌


The version I'm using now is 2.3.0, but if I want to merge the latest code, there will be many conflicts. Is there any solution?

The version I'm using now is 2.3.0, but if I want to merge the latest code, there will be many conflicts. Is there any solution?
Otherwise, it will be very troublesome for me to update later.

There are many files I haven't changed, but there are also conflicts.  almost 50

ok thank you

Closing now. Please feel free to reopen it if you have any questions. Thanks.


Start Session

POST /sessions/ - create session with 2 players
body { "user_ids": [string] }
response { "session_id": string }

Notify the other player through websocket about the created session

Start session by notifying both users that the session has started

Close play request websocket for both players


Change "update" description to recommend patch

(See https://github.com/Vincit/objection.js/issues/965 - .patch() is recommended unless JSON validation is required.)

Coverage decreased (-0.05%) to 95.095% when pulling 1c9a787c39e0dac0566e033aeeb9e5a3084c33fc on lukewlms:patch-2 into 6891e4b4dba13053994f02ec32295599ffb6c358 on Vincit:master.


appSettings.json on ASPNET.CORE in linux does not work

On Linux this version :
"AWSSDK.Extensions.NETCore.Setup": "<IP_ADDRESS>",
"AWSSDK.S3": "<IP_ADDRESS>",
Is not working.
If you configure a simple aspnet core web site with an appSetting.json with
appSettings.json
"AWS": {
    "Region": "eu-west-1",
    "AWSAccessKey": "*****",
    "AWSSecretKey": "*****"
  }
}

public Startup(IHostingEnvironment env)
{
    Console.WriteLine($" Startup --> {env.ContentRootPath}");
    Configuration = new ConfigurationBuilder()
        .SetBasePath(env.ContentRootPath)
        .AddJsonFile("./Configuration/appSettings.json")
        .AddJsonFile($"./Configuration/appSettings_{env.EnvironmentName}.json")
        .AddEnvironmentVariables()
        .Build();

    var opt = Configuration.GetAWSOptions();

    **var s = opt.CreateServiceClient<IAmazonS3>();**
}

If you try to get IAmazonS3
> Unhandled Exception: Amazon.Runtime.AmazonServiceException: Unable to find credentials
>
> Exception 1 of 3:
> System.ArgumentException: App.config does not contain credentials information. Either add the AWSAccessKey and AWSSecretKey properties or the AWSProfileName property.
>    at Amazon.Runtime.StoredProfileAWSCredentials..ctor(String profileName, String profilesLocation) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 679
>    at Amazon.Runtime.FallbackCredentialsFactory.<>c.<Reset>b__6_0() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2105
>    at Amazon.Runtime.FallbackCredentialsFactory.GetCredentials(Boolean fallbackToAnonymous) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2150
>
> Exception 2 of 3:
> System.InvalidOperationException: The environment variables AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY/AWS_SESSION_TOKEN were not set with AWS credentials.
>    at Amazon.Runtime.EnvironmentVariablesAWSCredentials.FetchAWSCredentials() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 856
>    at Amazon.Runtime.FallbackCredentialsFactory.<>c.<Reset>b__6_1() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2106
>    at Amazon.Runtime.FallbackCredentialsFactory.GetCredentials(Boolean fallbackToAnonymous) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2150
>
> Exception 3 of 3:
> System.AggregateException: AsyncHelpers.Run method threw an exception. (An error occurred while sending the request.) ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Couldn't connect to server
>    at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)
>    at System.Net.Http.CurlHandler.MultiAgent.FinishRequest(StrongToWeakReference`1 easyWrapper, CURLcode messageResult)
>    --- End of inner exception stack trace ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
>    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
>    at System.Net.Http.HttpClient.<GetContentAsync>d__32`1.MoveNext()
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at Amazon.Runtime.Internal.Util.AsyncHelpers.<>c__DisplayClass1_0`1.<<RunSync>b__0>d.MoveNext() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\Util\_mobile\AsyncHelpers.cs:line 78
>    --- End of inner exception stack trace ---
>    at Amazon.Runtime.Internal.Util.AsyncHelpers.ExclusiveSynchronizationContext.BeginMessageLoop() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\Util\_mobile\AsyncHelpers.cs:line 138
>    at Amazon.Runtime.Internal.Util.AsyncHelpers.RunSync[T](Func`1 task) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\Util\_mobile\AsyncHelpers.cs:line 86
>    at Amazon.Util.AWSSDKUtils.DownloadStringContent(Uri uri, TimeSpan timeout) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Util\AWSSDKUtils.cs:line 873
>    at Amazon.Runtime.URIBasedRefreshingCredentialHelper.GetContents(Uri uri) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 1190
>    at Amazon.Runtime.InstanceProfileAWSCredentials.<GetAvailableRoles>d__10.MoveNext()
>    at Amazon.Runtime.InstanceProfileAWSCredentials.GetFirstRole() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 1422
>    at Amazon.Runtime.FallbackCredentialsFactory.ECSEC2CredentialsWrapper() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2129
>    at Amazon.Runtime.FallbackCredentialsFactory.GetCredentials(Boolean fallbackToAnonymous) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2150
> ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Couldn't connect to server
>    at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)
>    at System.Net.Http.CurlHandler.MultiAgent.FinishRequest(StrongToWeakReference`1 easyWrapper, CURLcode messageResult)
>    --- End of inner exception stack trace ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
>    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
>    at System.Net.Http.HttpClient.<GetContentAsync>d__32`1.MoveNext()
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at Amazon.Runtime.Internal.Util.AsyncHelpers.<>c__DisplayClass1_0`1.<<RunSync>b__0>d.MoveNext() in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\Util\_mobile\AsyncHelpers.cs:line 78<---
>
>
>
>    at Amazon.Runtime.FallbackCredentialsFactory.GetCredentials(Boolean fallbackToAnonymous) in E:\JenkinsWorkspaces\v3-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AWSCredentials.cs:line 2141
>    at Amazon.Extensions.NETCore.Setup.ClientFactory.CreateCredentials(AWSOptions options)
>    at Amazon.Extensions.NETCore.Setup.ClientFactory.CreateServiceClient(Type serviceInterfaceType, AWSOptions options)
>    at Amazon.Extensions.NETCore.Setup.AWSOptions.CreateServiceClient[T]()
>    at Technogym.MywellnessCloud.Fuse.Startup..ctor(IHostingEnvironment env) in /home/mwcloud/test/fuse_aws/src/fuse.mywellness.com/Startup.cs:line 52
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
>    at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
>    at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
>    at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
>    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
>    at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass16_0.<RealizeService>b__0(ServiceProvider provider)
>    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
>    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
>    at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
>    at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
>    at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
>    at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
>    at Technogym.MywellnessCloud.Fuse.Program.Main(String[] args) in /home/mwcloud/test/fuse_aws/src/fuse.mywellness.com/Program.cs:line 20
>

Also upgrading  "AWSSDK.S3": "<IP_ADDRESS>" it is not working. On windows the same code works

See issue https://github.com/aws/aws-sdk-net/issues/499

@lucacasali, did #499 help diagnose the problem?  If not, could you provide more information regarding your environment and setup?

Closing this due to inactivity.  Issue #655 seems unrelated to this topic.

i want to write to aws cloudwatch from my application (ASP.NET Core 2.0) using serilogger framework.
//var renderer = new MyCustomRenderer();
// options for the sink, specifying the log group name
//CloudWatchSinkOptions options = new CloudWatchSinkOptions { LogGroupName = logGroupName, LogEventRenderer = MyCustomRenderer };
            // setup AWS CloudWatch client
            AWSCredentials credentials = new BasicAWSCredentials("", "");
            var str = credentials.GetCredentials();
            IAmazonCloudWatchLogs client = new AmazonCloudWatchLogsClient(credentials, RegionEndpoint.APNortheast1);

            var logger = new LoggerConfiguration()
                .ReadFrom.Configuration(Configuration)
                .WriteTo.AmazonCloudWatch(new CloudWatchSinkOptions
                {
                    LogGroupName = "MyLogGroupName",
                    MinimumLogEventLevel = LogEventLevel.Information
                }, new AmazonCloudWatchLogsClient(credentials, RegionEndpoint.APNortheast1))
                .CreateLogger();

What credentials i need to pass here in order to write logs to awscloud watch.
And sharing credentials is also not recommended. is there any other approcah?


"Illegal combination of indexes for vector" when running GravesLSTMCharModellingExample

Exception in thread "main" java.lang.UnsupportedOperationException: Illegal combination of indexes for vector
	at org.nd4j.linalg.indexing.ShapeOffsetResolution.tryShortCircuit(ShapeOffsetResolution.java:113)
	at org.nd4j.linalg.indexing.ShapeOffsetResolution.exec(ShapeOffsetResolution.java:325)
	at org.nd4j.linalg.api.ndarray.BaseNDArray.get(BaseNDArray.java:3671)
	at org.nd4j.linalg.api.ndarray.BaseNDArray.put(BaseNDArray.java:1787)
	at org.deeplearning4j.nn.params.GravesLSTMParamInitializer.init(GravesLSTMParamInitializer.java:62)
	at org.deeplearning4j.nn.layers.factory.DefaultLayerFactory.getParams(DefaultLayerFactory.java:107)
	at org.deeplearning4j.nn.layers.factory.DefaultLayerFactory.create(DefaultLayerFactory.java:64)
	at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.init(MultiLayerNetwork.java:361)
	at org.deeplearning4j.examples.recurrent.character.GravesLSTMCharModellingExample.main(GravesLSTMCharModellingExample.java:90)

On current master.

Mind seeing where this triggers? https://github.com/deeplearning4j/nd4j/blob/41f0a0befd321d98035cf9f636d3cc7048055167/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/ShapeOffsetResolution.java#L113-L113 A conditional breakpoint in intellij should be enough to catch that.

Apparently new -SNAPSHOT Versions of DL4J aren't landing in sonatype at the moment. So I've been getting a version that has been using new NDArrayIndex(0) instead of NDArrayIndex.point(0).


feature: add status change timestamp

A feature of e.g. podman ps -a is to show the relative time of the last state change (Up 3 minutes ago).
Would an additional gauge with this timestamp be possible?
Right now I can't detect restart loops because the state is not exited long enough for prometheus to notice.
Thanks for this project! :)

Hi @schlauerlauer
#22 will cover this feature request.


ci: deploy/jjb.sh should fail on wrong arguments

In case the '--cmd' option is missing, usage() will be called and the
script exits with 0. A missing option is a failure, so make usage()
return and handle the exit status when usage() got called instead.

@nixpanic ci failure

Hah, ci/centos/jjb-validate now reports a failure because #1661 contains a fix that needs to be merged first.

@mergifyio rebase


Assertion Test Failure: HttpUrlConnectionAsyncClientTest : testConcurrentRequests()

Test passes after this commit which merged the main branch and the JoinClientWrapper branch.
Solution: HttpUrlConnectionClient can now handle async operations


Issue 38747: Executing selectRows API call on dataset with columns=* results in no rows

Verifying against ETL tests:
https://teamcity.labkey.org/viewQueued.html?itemId=839578
https://teamcity.labkey.org/viewQueued.html?itemId=839580


Update sphinx setup for online documentation

Configure sphinx to update with new documentation
Write how this was done for future reference

How to update Sphinx docs
If file structure hasn't changed, we don't need to do anything.
If file structure has changed, first update tables of content
cd docs
sphinx-apidoc -o source ../pybamm

Then build html
make html

We could also make any stylistic changes in docs/conf.py, then build html


Add weapon recoil

Add recoil to the character's spine and crosshair when firing the weapon.

Done in commit 045f9920356053fc2f5c163b17e9f4d6edf5793d.


Add Jokes Service and Tests

In this PR, we add a service that wraps the Jokes API from
https://v2.jokeapi.dev/joke/{category}?amount={numJokes}
Closes #6

LGTM!


Adjusting code snippets

Adjusting the indentation of the code snippets

@billmath Please confirm if this text is okay to merge. Thanks!!

@AderbalFarias : Would you happen to know if the <appSettings> section is XML or if it is defined as something else?

@illfated it is XML

Feel free to choose for yourself if the block indentation for the XML section can be reduced / removed.

#sign-off

@AderbalFarias : Would you be able to commit my suggested additions?


Added locale support for gm command

Message returned on use of the gm command did not previously support the
localization file.

tr("gameModeCommands.switch", GameType.getById(mode))

...

gameModeCommands.switch=§eYou have switched to {0} mode.

Ah so that's how you include the variables. I guessed it was but I wasn't aware how to use in the module side.


Run valgrind on Lind

We'd like to run vagrind on Lind to check for any memory leaks. Let's try to do this.
One issue is that our fork  memory copy relies on mremap() which isn't allowed with valgrind. We can create and option to fallback to a straight memcpy the memory regions between cages on fork instead of the current setup and just enable that version when running valgrind.

This is probably a good issue for @Yaxuan-w to work on once she gets the initial SGX traces, since it would also make fork "no kernel"


Nil#to_h

Motivation

Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_OKwkHu9ABJJdgr
→ https://go/builds/bui_OKwkJtAR5nhobd
→ https://go/builds/bui_OKwkHOgDwi3xGM


Update Integrating with Build Tools.md to use latest WebPack configuration

Update webpack.config.js code, as element module{ loaders:[...]} does not exist anymore in the latest webpack version. It's now module{rules[...]}. See also basic webpack.config.js on https://webpack.js.org/guides/webpack-and-typescript/.
Also added a link to that webpack.js.org-pack that shows the typescript integration

Fixes #

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Sorry, I've seen there's a similar, not yet merged PR here: https://github.com/Microsoft/TypeScript-Handbook/pull/514

There seems to be a PR for this topic, which is already out of date https://github.com/Microsoft/TypeScript-Handbook/pull/510

@DanielRosenwasser mind taking a look.

Trying to write up how to use Webpack in our docs seems to have put us on a really fast treadmill that we're not actually equipped to keep up with. I'm going to close the old PRs relating to Webpack on the assumption that they're probably just as out-of-date as the content they're trying to update.


feat: use default entity in streamtable construction when no entity specified

This PR adds support for initializing streamtables with just project/tablename, instead of requiring entity/project/tablename. The entity is calculated using the default entity from the current WB api context.
Adds a test for this behavior.
Internal JIRA: https://wandb.atlassian.net/browse/WB-15768

Failure unrelated - RunChain. Fixed in #649


Mouse still not working in games

MacBook Pro M1, MacOS 12.0.1 + Switch Pro Controller
Mouse works in the menu of the games, but stops working inside the game itself (even tho it ways in the Releases page that it has been fixed) @magicien @qibinc

I'm curious if anyone has discovered a workaround for this.  I have the same issue.


node.js application fails to start

when trying to run the node.js application locally, i get the following error:
PS C:\temp\key-vault-node-quickstart> npm start
><EMAIL_ADDRESS>start C:\temp\key-vault-node-quickstart
> node index.js
Server running at http://localhost:1337
(node:11604) UnhandledPromiseRejectionWarning: Error: Either provide "msiEndpoint" as a property of the "options" object or set the environment variable "MSI_ENDPOINT" and it must be of type "string".
at new MSIAppServiceTokenCredentials (C:\temp\key-vault-node-quickstart\node_modules\ms-rest-azure\lib\credentials\msiAppServiceTokenCredentials.js:38:13)
at _withAppServiceMSI (C:\temp\key-vault-node-quickstart\node_modules\ms-rest-azure\lib\login.js:819:13)
at Promise (C:\temp\key-vault-node-quickstart\node_modules\ms-rest-azure\lib\login.js:860:7)
at new Promise (<anonymous>)
at Object.withAppServiceMSI [as loginWithAppServiceMSI] (C:\temp\key-vault-node-quickstart\node_modules\ms-rest-azure\lib\login.js:859:12)
at Object.<anonymous> (C:\temp\key-vault-node-quickstart\index.js:12:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
(node:11604) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:11604) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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

ID: 0fa1215c-57d4-3da4-e459-c97590f5895f
Version Independent ID: c2d089e3-fdea-fe27-5d9e-2f62c4b055f4
Content: Quickstart - Set and retrieve a secret from Azure Key Vault by using a Node web app
Content Source: articles/key-vault/quick-create-node.md
Service: key-vault
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@wshamroukh Thanks for your feedback! We will investigate and update as appropriate.

@wshamroukh For this application to work you need to deploy it on azure and enable the MSI endpoint as directed as the solution looks for an MSI enabled app.

@saurabhsensharma I tried to deploy it on Azure website as per the instruction in the documentation, but when you try to browse the web app URL, the page keeps loading and loading and then eventually we get HTTP ERROR 500

@wshamroukh Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Hi @wshamroukh. We have completely rewritten this article to make use of the V4 Azure javascript SDK.  Please give it a try, and let us know if you encounter any problems.  Thanks for your feedback!  #please-close


experimental flag for require

How can I get experimental feature when I require("6to5/register");? There doesn't seem to be anything to find about that in the docs.

require("6to5/register")({
  experimental: true
});

Thank you very much.


Create Blog “2023-03-01-qwe”

Automatically generated by Netlify CMS

👷 Deploy Preview for peaceful-meerkat-940447 processing.

Name
Link

🔨 Latest commit
0e6d9091e590ecd33357f86ac076b8a7343b0304

🔍 Latest deploy log
https://app.netlify.com/sites/peaceful-meerkat-940447/deploys/63ff25b1b3b20d000849dfc9


Two commitlint-bots ;)

Mostly opening a conversation here, I'm in no rush to do anything. And please don't feel pressure to support my usecases. :)

Soo I have my own bot with this name: https://github.com/paulirish/commitlintbot
However mine only cares about Pull Request titles and doesn't care about actual commit messages. So technically it probably makes more sense to be called commitlint-pr-bot.
I created it as there was no other option at the time, but I'm happy to retire and and point to your project if a few things happen:

Support linting a PR title
Support ignoring commit messages
Supportcommitlint.config.js (#1)
Support commitlint-config-cz for a project to specify custom types/scopes

Again, we can also agree to keep our projects separate. That's totally fine with me. :) I just wanted to list these out in case you want to create the ultimate feature-rich commitlint bot. 🎉

also, just left a link to your project from my readme :)

Support linting a PR title

I can happily support this scenario ;)

Support ignoring commit messages

I think this needs a config file, something like this:
# File: .github/commitlint.yml
lint:
  title: true
  messages: false

Support commitlint.config.js (#1)
Support commitlint-config-cz for a project to specify custom types/scopes

I'm still not sure how can I support .js files ( #1 )


Update subscriptions at the end.

ConsumerCoordinator should first call invokePartitionsAssigned and then save the subscription state.
 The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

please review

please review


About v0.2.1831.0 preview

I have seen you have released 0.2.1831.0 as .msixbundle a few days ago but the Store still report as publication date Jun 21 2019.
Does this mean we cannot update this new preview from the Store?
I had uninstalled WT because after few days it worked, it stopped working.. So, can I just install it from the .msixbundle. How should this package be installed? just double clicking it?
Why you don't release WT as .zip or .tar.gz so that the user could install it where he prefers?

I do not understand the basis for your question. V0.2.1831.0 is available in the store.
#1386


LogDensityProblems.jl interface

As shown here, defining a couple of methods for a MarginalLogDensity allows it to "just work" in MCMC sampling, which would funcionality be worth having...

Added in https://github.com/ElOceanografo/MarginalLogDensities.jl/commit/3e5944731284e0e58f746eebfaf17aaaed1b4e11


Python CI testing using Tox

Looks good. Anything else you want to add, or should we merge?

I don't know when I'll have time to do this, so I'll put the idea here if someone else wants to give it a go in the mean time!
The idea was to use the package=external option in tox, which uses a separate environment to build the code and store a wheel, and then uses this pre-built wheel in all tests environments. We can only do this for one package, which would be sphericart-torch since it is the slowest to compile.
We are doing this in equistore for equistore-core, if you want to see an example of it.

That should be enough for me to take a stab at it.


Various Bazel improvements

--force_pic speeds up the build ~1.5x on my machine.
Marking internal_client_server_test as flaky avoids misleading
failures in some environments.
Updating rules_boost avoids spamming stdout with configure script
messages.

@wally-the-cartographer merge


Hyrule Warriors 60fps mod no longer working in latest Cemu releases?

Can't seem to get the 60fps mod working anymore in Hyrule warriors, OpenGL or Vulkan. Started happening a few releases ago I think. My Hyrule Warriors is updated with the latest patches, was working correctly before.

Cemuhook is still needed for the current patch, it uses instructions that cemus patch language doesnt support yet.
Since this question keeps cropping up here and on reddit; here's a temporary pack that works without  cemuhook
HyruleWarriors_60FPSv4.zip

Understood, thanks very much.

Yo @getdls , could you possibly PR that v4 pack to the main repo? I'm sure a lot of people would enjoy that new pack over the old one, including me.

Shouldn't go above 60FPS since the SwapInterval will only allow it to run at 60FPS, which can only be changed if you use the vsync override in the rules.txt file.
And yeah, also in favor of having this pack be pushed since it also fixes some issues the patches.txt one had apparently (not sure what the removed code did but it didn't work well, I guess). Just remove the presets in the rules.txt file.

Pushed zip attached zip to source.
@MelonSpeedruns  if you're testing stuff, could you try out the one below?
Going by the function it looks better, but I can't really tell...
HyruleWarriors_60FPSv2.zip

I can test in a few minutes for sure. What am I testing though? :P

Thanks..  I was hoping for some smoother camera motion.  :/

Since the 60FPS mod now works, I'll close this issue. Though further discussion and experimentation can still be discussed.


Add support for async subscriber callbacks while retaining backwards compatibility

Add support for async subscriber callbacks while retaining backwards compatibility.

[ ] I have added automatic tests where applicable
[X] The PR title is suitable as a release note
[X] The PR contains a description of what has been changed
[X] The description contains manual test instructions

Changes
Made it possible to have an async subscriber callback.

Test
Check if subscribers are still called.

Looks great!
Will probably be a few weeks before this can be reviewed and merged. I won't have time to do it before going on summer vacations and the other maintainers are already on vacations.

Okay. I looked at the existing tests, and I couldn't find enough inspiration to get started with this easily.
Do you have an idea of where I can start? The existing tests don't seem to have an example that tests the return value of the callback itself, and if that is being replied.

Something like this should work
  test("should handle async callback and return correct data", () => {
    const callback = vi.fn(async () => {
      return new Promise((resolve) => setTimeout(() => resolve("someData"), 1));
    });
    const testEvent = {
      topic: "ftrack.test",
      data: {},
      id: "eventId",
      source: { id: "sourceId" },
    };

    const publishReplySpy = vi
      .spyOn(eventHub, "publishReply")
      .mockImplementation((_, data) => data);

    eventHub.subscribe("topic=ftrack.test", callback);
    eventHub._handle(testEvent);

    setTimeout(() => {
      expect(callback).toHaveBeenCalledWith(testEvent);
      expect(publishReplySpy).toHaveBeenCalledWith(
        expect.anything(),
        "someData",
        expect.anything()
      );
    }, 10);
    publishReplySpy.mockRestore();
  });

  test("should handle sync callback and return correct data", () => {
    const callback = vi.fn(() => "someData");
    const testEvent = {
      topic: "ftrack.test",
      data: {},
      id: "eventId",
      source: { id: "sourceId" },
    };

    const publishReplySpy = vi
      .spyOn(eventHub, "publishReply")
      .mockImplementation((_, data) => data);

    eventHub.subscribe("topic=ftrack.test", callback);
    eventHub._handle(testEvent);

    setTimeout(() => {
      expect(callback).toHaveBeenCalledWith(testEvent);
      expect(publishReplySpy).toHaveBeenCalledWith(
        expect.anything(),
        "someData",
        expect.anything()
      );
    }, 10);
    publishReplySpy.mockRestore();
  });
});

Not the prettiest tests, but without changing the return values we have no way of awaiting everything, so there's a magic 10 ms timeout.

Thanks for this!


derive MaxEncodedLen for MultiSignature

Upgrading our project to 0.9.16 require us to derive MaxEncodedLen for all the storage persisted types. Which include a type embedding a MultiSignature for which MaxEncodedLen is not derived.
fixes https://github.com/paritytech/substrate/issues/10764

bot merge

@hussein-aitlahcen It doesnt compile. Please fix

@hussein-aitlahcen It doesnt compile. Please fix

Oops will fix

@bkchr we should be good, sorry for the inconvenience.

bot merge


Killer7 exclusive?

Describe the feature you'd like to see added
This is less an ask for a feature but more an open discussion I'd like to have in regards to the Killer7; it is the only upgrade able weapon in the game that does not have an exclusive. So I've just been thinking: if it did have one, what would it be?
Well, it definitely won't involve firepower, since that's the whole shtick of it's competitor, the Broken Butterfly.
Probably not capacity either, since it would enable the player to collect a bunch of magnum ammo for free by abusing the upgrade system by upgrading the capacity when the gun is empty.
Reload speed? Well it already reloads relatively fast with a fully upgraded one having a 0.93 second speed vs. Broken Butterfly's 2.33 fully upgraded speed, so I don't think it really needs to have a faster reload.
That just leaves firing speed which both the Killer7 and Broken Butterfly have the same speed of 0.7 seconds. Perhaps their rivalry with one another could be more akin to the Red9 and the Blacktail, if it has the ability to shoot faster than the Broken Butterfly, enabling more damage per second as opposed to the raw power in each singular shot. I'm not really sure by how much the amount of seconds would be lowered, maybe to 0.4?
I absolutely prefer the Broken Butterfly over the Killer7, but I do happen to use the Killer7 in other save files and it's just left me wondering, what could have been if an exclusive was in the game.

I never knew this! Always stuck with Broken Butterfly. I hope something can be done.

@pas-de-2 This is mainly what I was thinking about when I mentioned personal balancing in the gamecube thread. I'm not a huge fan of the original balancing so I was hoping to add this on top of the new one. Also, considering there was a balance chicago typewriter commit, I wanted to do something similar with the handcannon and remove its infinite ammo from its exclusive, but that's less of an issue since I can do it manually in the trainer.

To do this I think you just need to edit a few tables:
PlShotFrameTbl to give it a new weapon speed upgrade
level_price to give the upgrade a price
level_r31a to unlock it
Killer7 has a wepNo of 6, and an itemId of 42. PlShotFrameTbl is indexed by wepNo, but the others are organized by itemId.
To remove infinite ammo from the handcannon, easiest way would be to just remove the 7th upgrade unlock from level_ext_sw500.

It wouldn't, though the issue there is that in OG RE4 it's only possible to 'crit' Ganados-type enemies, most of whom already get one shot by a Killer7 headshot. Of the ones who don't, the Chainsaw Maniacs have a damage cap that the Killer7 already exceeds.
My suspicion is the RE4R exclusive works against a lot more enemy types. In the OG, shooting something like El Gigante in the head just applies a flat 150% damage modifier, but in RE4R it might also give a crit chance?

the description for the gun mentions it being very stable, so maybe this exclusive upgrade could disable laser waver, or at least reduce it significantly.


ignore overridden setters and getters in JavaBeanSchema

With recent change to ReflectUtils.getMethods which made it so that it now traverses the whole class hierarchy for search of methods to return to make it consistent with the behavior of the getFields method,  the schema inference for Java Bean classes will fail (see the test) if that class overrides any of its getters or setters - this PR fixes that by making sure that we only consider the bottommost accessors when calculating the schema

Run Java PreCommit

Run Java PreCommit


Queries for disabled host wifi network

I've noticed periodic log entries for queries for the (disabled) wlan0 in the DNS plugin logs on my Home Assistant Yellow. Where are those coming from?
[INFO] <IP_ADDRESS>:42640 - 36490 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000673009s
[INFO] <IP_ADDRESS>:38334 - 21566 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000453124s
[INFO] <IP_ADDRESS>:36936 - 42800 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.00075197s
[INFO] <IP_ADDRESS>:36071 - 29497 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000413456s

I am also seeing this. I believe it happens every time you visit this page: http://homeassistant.local:8123/config/network


Update Milvus & Zilliz Cloud demos for latest release

Description

Update Milvus demo to support Milvus-Lite (database stored in the local directory)
Update ZCP Managed Index to support text inputs

Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[x] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

@jaelgu should I wait to merge this, or is it good to merge now?

It's good to merge now. It does not broke the existing features. And the new features will be released today or tomorrow. Thank you!


[FLINK-33063][table-runtime] Fix udaf with complex user defined pojo object throw error while generate record equaliser

What is the purpose of the change
When user create an udaf while recore contains user define complex pojo object (like List or Map). The codegen will throw error while generating record equaliser, the error is:
A method named "compareTo" is not declared in any enclosing class nor any subtype, nor through a static import.
Brief change log

Add a test to cover the user defined pojo object.

Verifying this change
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented?  no docs

@swuferhong could you open a cherry-pick pull request for release-1.18 branch?

@swuferhong could you open a cherry-pick pull request for release-1.18 branch?

Sure!


please support sdxl

dynamic_thresholding.py->def combine_denoised(self, x_out, conds_list, uncond, cond_scale):
#add this code
if not isinstance(uncond, torch.Tensor):
uncond = uncond['crossattn']

Fixed, thank you!
The behavior of outputs from dynthresh seems to be fundamentally different on SDXL, so test with care (don't just copy over working settings from SDv1 to SDXL usage).


Prompt  Blueprint for Web-based Mini Language Model Platform Idea

Project Overview: Design a web-based platform that leverages a mini language model to offer enhanced functionality while addressing security, privacy, and bypassing Chrome extension limitations.
Key Features:

Integration of a Jailbroken Mini Language Model: Implement advanced functionalities not standard in typical models.
User Experience Optimization: Focus on simplicity and essential features to enhance usability.
Enhanced Security Measures: Include encryption, anonymization, and robust user authentication methods.
Expanded Functional Capabilities: Utilize PWA capabilities to bypass typical browser extension limits.
Customizable Interface: Offer extensive personalization options.
Administrative Control Panel: Equip administrators with comprehensive tools for management.

Required Deliverables:

Visual Blueprints: Include wireframes and detailed mockups of each primary page.
Comprehensive Documentation: Detail component interactions, user flows, and design impact on UX and security.
Technical Specifications: Recommend technologies and best practices for development and security.

Design Principles:

Prioritize simplicity, scalability, and security.
Optimize performance and resource management.
Ensure adaptability for future enhancements.

Aim: To create a scalable, secure, and user-friendly platform that pushes the boundaries of conventional web applications.

Original idea in a LM friendly prompt  (non censored LM)
Design a web-based platform for a mini language model that enhances functionality while addressing security, privacy, and liability concerns, and sidestepping limitations of Chrome extensions. Key features should include:

Integration of a Jailbroken Mini Language Model: Enable advanced functionalities not available in standard models.
User Experience Optimization: Focus on simplicity, highlighting essential features to enhance usability.
Enhanced Security Measures: Incorporate advanced data protection techniques, including encryption and anonymization, to safeguard user privacy and reduce potential liabilities.
Expanded Functional Capabilities: Utilize the broader capabilities of a web platform to bypass Chrome extension constraints.
Customizable Interface: Provide options for user customization, including themes, fonts, and the ability to input custom prompts.
Administrative Control Panel: Equip site administrators with tools for user and content management, analytics, and system updates.

Required Deliverables:

Visual blueprints (e.g., wireframes, detailed mockups).
Comprehensive documentation outlining component interactions.
Specifications and best practice recommendations for technical implementation.

Emphasize simplicity, scalability, security, and adaptability in the design to accommodate future enhancements.

Revised prompt*
Create and develop a website blueprint for a web-based mini language model that streamlines functionality, reduces liability, privacy, and security risks, and overcomes Chrome extension limitations. The website should:

Host a Jailbroken Mini LM: Allow for a jailbroken mini language model to be integrated, enabling richer features and functionalities.
Streamline Functionality: Simplify the user experience by minimizing complexity and focusing on core features.
Mitigate Liability, Privacy, and Security Risks: Implement robust security measures, data encryption, and anonymization options to reduce risks.
Overcome Chrome Extension Limitations: Take advantage of the website's flexibility to add features that would be restricted by Chrome's character limits.
Provide a Customizable User Interface: Offer users personalization options, such as theme selection, font and color scheme choices, and ability to add custom prompts or questions.
Include an Admin Dashboard: Allow administrators to manage the website, including user management, analytics, and update management for the language model and website components.

The blueprint should prioritize simplicity, scalability, and security, while providing a highly customizable and adaptable framework for future updates and feature additions.
Deliverables:

A visual representation of the website blueprint (e.g., wireframes, mockups)
A detailed documentation of the components and their interactions
A list of technical requirements and recommendations for implementation"


Pvc experiences

Include support for PvC experiences.
Things still outstanding:

Teardown
TLS (getting truststores and jks base64 encoded and into the yaml file)
Prometheus ht credentials
Testing on a real cluster

Proposal is to do these under a separate PR, instead get this PR into devel for people to start using

Include support for PvC experiences.
Things still outstanding:
Teardown
TLS (getting truststores and jks base64 encoded and into the yaml file)
Prometheus ht credentials
Testing on a real cluster
Proposal is to do these under a separate PR, instead get this PR into devel for people to start using


Create Files/Folder Structure

MJ grabbed this and will work on creating folders/files

issue resolved, folders and files created implement and reflect MVC structure.


Skip ingress based on object metadata

🗒 Summary
This branch adds the capability for the Data Upload Manager service to skip ingress of files that have been previously ingested and which have not changed since the last upload. The client application now includes several additional object metadata fields of the requested file (size, date modified, and md5) that allow the Lambda service function to determine if an existing file should be overwritten or skipped. This decision is communicated back to the client script, which takes the appropriate action.
⚙ Test Data and/or Report
One of the following should be included here:

Unit tests for Lambda service have been updated to test the function which makes the file overwrite determination
Updates were deployed to MCP dev environment to test interactions between client and service

♻ Related Issues

Resolves #92
Fixes #90
Resolves #87
Resolves #51
Resolves #50
Resolves #33

@collinss-jpl to double check on this PR, do you now include the md5 checksum in the object metadata on S3? we just tried to test this via inspection of the data in production being pushed by SBN, and we do not see any of this object metadata within the objects.

@viviant100 can you provide a screenshot of one of the objects we were looking at?

S3 maintains its own MD5 hash of the file, which AWS calls the "Entity tag (Etag)". You can see it in the first screenshot that Vivian posted. The DUM client generates its own md5 digest, which is included with the payload sent to the Ingress Lambda. This is what is compared to the "Etag", which is fetched from an S3 API call, when making the comparison to see if an existing file has changed.


Remove unnecessary steps from the dockerfile

What? and Why?

What does this pull request change/fix? Why was it necessary?

Checklist

[ ] CHANGELOG.md updated? (if required)

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   85.92%   85.92%
=======================================
  Files           6        6
  Lines         199      199
=======================================
  Hits          171      171
  Misses         28       28

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0291f1...b4b9791. Read the comment docs.


Publish aspnetcore feature

This PR adds functionality to publish ASP.NET Core applications to App Engine Flex environment based on the current .NET Core project system (aka project.json).
This PR also adds a bunch of UI tweaks to show progress while the app is being deployed. This is necessary because deploying to the Flex environment can take a bit of time, the UI needs to reflect this by:

Disabling build and debug, just like the build-int publish feature.
Showing text in the status bar.
Showing progress in the status bar.
Showing an animation in the status bar.

After the deployment is done, successfully or not, the UI is returned to the normal state.

PTAL

LGTM just had one question about the docker/yaml files but feel free to merge we can figure it out offline.


NullPointerException UdpSocketClient.isMulticast

Hi,
This exception occurs in production builds very few times but I think it's worth noting. This is the crash report from Google Play Console:
java.lang.RuntimeException:
  at android.os.AsyncTask$3.done (AsyncTask.java:318)
  at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:354)
  at java.util.concurrent.FutureTask.setException (FutureTask.java:223)
  at java.util.concurrent.FutureTask.run (FutureTask.java:242)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:761)

Caused by: java.lang.NullPointerException:
  at com.tradle.react.UdpSocketClient.isMulticast (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.bind (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.send (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.setBroadcast (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.didReceiveData (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.didReceiveError (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.didReceiveRuntimeException (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.onDataSent (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.onDataSentError (UdpSocketClient.java)
  at com.tradle.react.UdpSocketClient.onDataSentRuntimeException (UdpSocketClient.java)
  at com.tradle.react.UdpSockets$3.doInBackgroundGuarded (UdpSockets.java)
  at com.tradle.react.UdpSockets$3.doInBackgroundGuarded (UdpSockets.java)
  at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
  at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
  at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
  at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
  at android.os.AsyncTask$2.call (AsyncTask.java:304)
  at java.util.concurrent.FutureTask.run (FutureTask.java:237)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:761)

Make sure you close. Use timers or asych before you close to get all data you need. Nodejs udp can save almost 4000 message in 1 second as per blog of google senior programmer.
Sent from Yahoo Mail for iPhone
On Friday, May 29, 2020, 3:42 AM, Info-Bit<EMAIL_ADDRESS>wrote:
Hi,
This exception occurs in production builds very few times but I think it's worth noting. This is the crash report from Google Play Console:
java.lang.RuntimeException:
at android.os.AsyncTask$3.done (AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:354)
at java.util.concurrent.FutureTask.setException (FutureTask.java:223)
at java.util.concurrent.FutureTask.run (FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
at java.lang.Thread.run (Thread.java:761)
Caused by: java.lang.NullPointerException:
at com.tradle.react.UdpSocketClient.isMulticast (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.bind (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.send (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.setBroadcast (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.didReceiveData (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.didReceiveError (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.didReceiveRuntimeException (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.onDataSent (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.onDataSentError (UdpSocketClient.java)
at com.tradle.react.UdpSocketClient.onDataSentRuntimeException (UdpSocketClient.java)
at com.tradle.react.UdpSockets$3.doInBackgroundGuarded (UdpSockets.java)
at com.tradle.react.UdpSockets$3.doInBackgroundGuarded (UdpSockets.java)
at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
at com.facebook.react.bridge.GuardedAsyncTask.doInBackground (GuardedAsyncTask.java)
at android.os.AsyncTask$2.call (AsyncTask.java:304)
at java.util.concurrent.FutureTask.run (FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
at java.lang.Thread.run (Thread.java:761)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sometimes the exception is thrown. I don't use this lib directly but trought https://github.com/artem-russkikh/react-native-ntp-client. I'll open an issue there. Now we cannot contribute to the resolution. Thanks.

You can also review Nodejs UDP docs. I got my program from there. Copy and paste and edit a little. Works like a rock for me. Specially in LAN networks.
Sent from Yahoo Mail for iPhone
On Tuesday, July 14, 2020, 2:57 AM, Info-Bit<EMAIL_ADDRESS>wrote:
Sometimes the exception is thrown. I don't use this lib directly but trought https://github.com/artem-russkikh/react-native-ntp-client. I'll open an issue there. Now we cannot contribute to the resolution. Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


[ownership] Remove most -enable-sil-ownership from SILGen now that %t…

…arget-swift-emit-silgen does it automatically.
I did this using a sed pattern and verified by hand that I was only touching
target-swift-emit-silgen lines.

@slavapestov this is for you = ).

@swift-ci smoke test and merge


Avoid mbuf size truncation to u16

When mbuf_size(u32) is larger than 65535(for example online-vdev.toml), it is silently truncated to u16. This PR fixes it.

Good catch, thank you!


Default use of non daemon threads

By default, EventBus uses cached non-daemon threads and they are only removed after 60 seconds of unuse. This prevents the JVM from shutting down. System.exit() can of course be used to shut down the JVM with non-daemon threads, but requires code by the user of EventBus.
So will setting the default to creating daemon threads be a better choice?

probably can't.
because when the daemon threads  and user threads finish their work,jvm will quit.
but [post] method and [subscribe] method would be called durring the runtime always


Remove proto deserialization from HasPosition

What is the purpose of the change
This PR removes proto deserialization from accum.HasPosition calls. This is technically a performance improvement, but its pretty negligible (.5% speedup in our CL tests)
The computation for proto serialization doesn't cost gas, hence this is state compatible.
Whats nice is it removes the error from this code, which has essentially been a dead code branch throughout our codebase. (Every test required NoError for this, and the only way to get an error was to write something of the wrong protobuf type, which we should be guaranteed by key structuring doesn't apply)
Testing and Verifying
This is covered by the existing tests.
Documentation and Release Note

[x] Does this pull request introduce a new feature or user-facing behavior changes? No
[x] Changelog entry added to Unreleased section of CHANGELOG.md? No

ah rip e2e failure is due to needing to update osmoutils import


Unclear which DDI version document refers to.

For example, similar pages exists for D3d10 and D3d11:
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/initializing-communication-with-the-direct3d-version-10-ddi
https://docs.microsoft.com/en-us/windows-hardware/drivers/display/initializing-communication-with-the-direct3d-version-11-ddi

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

ID: 0d497b78-babc-8b00-de3d-d37b3a4f5d6a
Version Independent ID: 54a399cb-2731-6eff-49ad-f4f6883d3ac0
Content: Initializing D3D User-Mode Display Driver Communications - Windows drivers
Content Source: windows-driver-docs-pr/display/initializing-communication-with-the-direct3d-user-mode-display-driver.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

@Ocasio-J , good catch! I've added the version info (it's version 11).


Feat/x svm improvements

This MR contains various changes:

pre-commit hook hotfix

we should run black as the last command in the hook; otherwise, line numbers from the other tools (pytest, pyright) do not match the real line numbers as we see them in IDEs

svm.install async implementation

solc installation does not block the whole process - e.g. LSP server can still communicate while installing solc binaries

SolidityVersionRanges helper class implementation that will be mainly useful in the compile submodule
cosmetic changes
2 svm issues closed

implemented keccak256 solc binaries checksum verification
added minimal supported solc version checks

Made a few more changes:

changed the default Woke dir on *nix to ~/.config/Woke
replaced pysha3 library by pycryptodomex

pysha3 is no longer maintained and it may be hard to install it on Windows
pycryptodomex is "heavier" - it implements a lot of additional crypto functions

changed layout of solc binaries storage

now every solc binary is in its own directory
~/.config/Woke/compilers/solc-linux-amd64-v0.7.4+commit.3f05b770 is now in ~/.config/Woke/compilers/solc-linux-amd64-v0.7.4+commit.3f05b770/solc-linux-amd64-v0.7.4+commit.3f05b770

by analogy also for Windows

fixed installation of solc versions 0.7.1 and lower on Windows

these builds are packed in *.zip together with Visual C++ DLLs
this is also why solc binaries are now stored in subdirectories


KAFKA-17360 local log retention ms/bytes "-2" is not treated correctly

related to https://issues.apache.org/jira/browse/KAFKA-17360
This pr fix:

the inconsistent "remote" flag [0][1]. we should use remoteLogEnabledAndRemoteCopyEnabled()
-2 needs to be replaced by server-side config. [2]

[0] https://github.com/apache/kafka/blob/5f02ef952e500fda5272609cec90fe1eb30da6fa/core/src/main/scala/kafka/log/UnifiedLog.scala#L1591
[1] https://github.com/apache/kafka/blob/5f02ef952e500fda5272609cec90fe1eb30da6fa/core/src/main/scala/kafka/log/UnifiedLog.scala#L1604
[2] https://github.com/apache/kafka/blob/5f02ef952e500fda5272609cec90fe1eb30da6fa/core/src/main/scala/kafka/log/UnifiedLog.scala#L2358
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@brandboat , looks like the test DeleteSegmentsByRetentionTimeTest failed due to this change. Could you help take a look?
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-16932/2/

@brandboat , looks like the test DeleteSegmentsByRetentionTimeTest failed due to this change. Could you help take a look?
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-16932/2/

I thought is was related too, but after I run those tests in my local env, they passed. Anyway, I'm going to push a new commit as @chia7712 have some comment. Thanks!

The latest CI result doesn't have the failure we saw earlier: https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-16932/3/
Retriggering the CI: https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-16932/4/

The latest 2 CI builds have no failed DeleteSegmentsByRetentionTimeTest any more. I think it's just flaky. Thanks.

In the DeleteSegmentsByRetentionTimeTest, we set retention.ms to 1ms and leave local.retention.ms at its default value of -2. Before this PR, segment deletion was never triggered by retention.ms alone if local.retention.ms was left at -2. In the TieredStorageTestUtils#createTopicConfigForRemoteStorage, we set local.retention.bytes to 1 ^1, which effectively triggers segment deletion based on size rather than time.
It's important to note that [local.]retention.ms deletes active segments, while [local.]retention.bytes does not delete active segments if [local.]retention.bytes > 0. This difference is the root cause of the flakiness observed in DeleteSegmentsByRetentionTimeTest after this PR. With the changes, local.retention.ms is now working as expected, and active segments are being deleted during the test.
To address this, https://github.com/apache/kafka/pull/16932/commits/31a36f01310fd17dc2de31c2e186cda9b99b2d2b make the latest record use a timestamp from the future to avoid retention.ms segment deletion.


SwitchCaseSemicolonToColonFixer incompatible with PHP 8.1

The SwitchCaseSemicolonToColonFixer doesn't work properly with a new PHP 8.1 feature - enums.

Did you try to update ECS beneath?

ECS 9.4.70 doesn't have updated fixer. Branch 10.X (beta) would probably work.

https://github.com/symplify/easy-coding-standard/releases/tag/10.0.0


Implement tau_thresholding transform

Has been done in https://github.com/Qrlew/qrlew/pull/60

Has been done in https://github.com/Qrlew/qrlew/pull/60