Feat/use session for event lookup

Integrate with most up to date KlerosPOC contract
Use session to look up timestamps instead of using blocknumber
Implement wrappers for MiniMe PNK token

Pull Request Test Coverage Report for Build 699

53 of 69 (76.81%)  changed or added relevant lines in 8 files are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage increased (+2.7%) to 52.839%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/contracts/implementations/PNK/MiniMePinakion.js
6
8
75.0%

src/contracts/implementations/PNK/TokenFactory.js
3
5
60.0%

src/resources/Notifications.js
0
3
0.0%

src/contracts/implementations/arbitrator/KlerosPOC.js
10
14
71.43%

src/resources/Disputes.js
22
27
81.48%

Files with Coverage Reduction
New Missed Lines
%

src/resources/Disputes.js
2
67.57%

src/contracts/implementations/PNK/PinakionPOC.js
9
0.0%

Totals

Change from base Build 694:
2.7%

Covered Lines:
552

Relevant Lines:
924

💛  - Coveralls


Panel Missing In Chirpy Starter

Checklist

[x] I have read the newlest tutorials and know the correct effect of the functional design.
[x] There is no similar question on existing issues (including closed ones).
[x] I have tried to find the answer on Jekyll Forum and StackOverflow.
[x] My question is based on the latest code of the master branch.

Description
I tried to follow the getting started guide in two ways, once by cloning chirpy-starter and running bundle, and the other time by doing the same and then copying the result into my existing Jekyll project (merging config.yml, .gitignore and Gemfile). In both cases, running the site with bundle exec jekyll serve resulted in a site that looked fine except for the panel missing on every page. Adding a markdown page, whose front-matter was solely layout: page and a permalink, rendered the page well but was again missing the panel.
Page render:

Page source:

So I'm just wondering how to get the panel to appear. Thanks.
EDIT: The live ToC is what I am most interested in. I have it explicitly enabled in both config.yml and this page. The page itself does contain
-level headers:
---
layout: post
permalink: /wiibrew/
toc: true
---
# Wii Homebrew In Brief

*Contents:*

**[Guide Links](#guide-links)**
My recommended guides for installing homebrew.

**[Region-Free Methods](#region-free-methods)**
Explanation of the 3 main methods for playing games from other regions on Wii.

**[Comparison of GC Disc Loaders](#comparison-of-gc-loaders)**
Comparison of the features of 3 loaders of GC discs on Wii.

**[Basic Knowledge](#basic-knowledge)**
Info for understanding homebrew that'll allow you to stand on your own two feet with it.

## Guide Links

I updated to Jekyll 4 and tried chirpy-starter 5.3.1 and got the panel working, but soon lost it without noticing how. Tried a final time, just copying a zip of the starter and running bundle then bundle exec jekyll s, but still no panel.

Ah I forgot about this issue. The problem was caused by not having the static assets copied over, so I’ll leave this issue up just as a pointer for including instructions for setting the theme up without using GitHub templating, like say git recursive clone.


Publish 1.4.1.BUILD-SNAPSHOT to Docker Hub

This would something similar to https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/commit/917dbd1ed24ce7c866b2cd007f565b4cc1c20239, but we shouldn't be tagging latest as well.

https://hub.docker.com/r/springcloud/spring-cloud-dataflow-server-kubernetes/tags/


Optimized environment variable override and improved readability.

This script now efficiently overrides environment variables only when arguments are passed, making it cleaner and more intuitive. By adjusting the argument check, we ensure that no unnecessary actions are taken if no arguments are provided. The script remains highly readable and keeps system output well-structured..

Hi @infyomer, this doesn't appear to be a substantial change to me, but maybe I'm missing it. Can you help me understand what the problem was and how this fixes it? Thanks!

low effort PR appears to be farming rep


Hard to find delegate page at 0.6.1 devshares

it would decrease the voting rate . It should be at a first level access .

We already moved it to the top menu


Cross platform compilation

Currently we cannot build anything with neofs SDK for ARM (e.g. linux/arm/v6,    linux/arm/v7, linux/arm64. Such platforms are used in https://github.com/nspcc-dev/distribution) because of AVX.
Error example:
#0 1.022 # github.com/nspcc-dev/tzhash/gf127/avx
#0 1.022 vendor/github.com/nspcc-dev/tzhash/gf127/avx/gf127.go:23:6: missing function body

We should do something with this problem if we want to support another platforms.
Actually, there is another problem with some neofs-contract constants (they overflow int). It isn't directly related to this repo though:
https://github.com/nspcc-dev/neofs-contract/blob/a92ad8b8f0e7f5265bced249949ea7cbc9fdad75/nns/nns_contract.go#L49
https://github.com/nspcc-dev/neofs-contract/blob/a92ad8b8f0e7f5265bced249949ea7cbc9fdad75/nns/nns_contract.go#L67
P.S. Using vendor and drop unused (AVX, constants) allows build distribution for the following platforms:

"linux/amd64",
"linux/arm/v6",
"linux/arm/v7",
"linux/arm64",
"linux/ppc64le",
"linux/s390x"

Could you try using v1.6.0?

The problems are gone using v1.6.0


Feature: Add more runtime msg to profile output

API
C++
Description
The current profile output lacks runtime information statistics, which makes it difficult to troubleshoot performance issues. For example, the parallelism of a task. I can only confirm whether the task can be parallelized by reading the code. For another example, I want to confirm whether there is data skew in the task. We need a more intuitive way.

Hi @ted-wq-x , this makes sense to me.
A flexible design in my mind right now is we can keep a ProfilingContext, similar to the WarningContext, inside the ClientContext, which tracks for each profiling query the detailed stats of each operator in each thread, and each pipeline. Users can run cypher queries to view the stats in details or in aggregated views.
But before we dive into these details, can you say more on what you want to collect if you already have an idea on this?

Pipeline: id,pipeline running time,all task running time in this pipeline
Task: scheduling delay,task running time and based on these two dimensions, min, max, avg are calculated respectively.


Update W State 1 - Multi-Qubit Systems.ipynb

After the submission of this project, I explored the idea that the deterministic obtaining of a state W can be summed up as the application of a single reversible gate to a set of qubits in the ground state. Hence this mathematical appendix which presents the gate in question in its matrix form for the case of three qubits. Formulas and equations have been established and verified using the SymPy Python library.

Hi,
thanks for adding this. You may have noticed that there is a function in QISKit that allows you to prepare arbitrary state starting from all-zero state. It is detailed here:
https://nbviewer.jupyter.org/github/QISKit/qiskit-tutorial/blob/master/reference/tools/quantum_gates_and_linear_algebra.ipynb#Arbitrary-initialization

@rraymonddhp : Thank you for your comment. Indeed I am aware of this arbitrary initialization presented in QISKit. It occurred to me that this would test experimentally the gate's reversibility by submitting a W state to the circuit corresponding to the gate's dagger. However we can also obtain this initial state W by the circuit described in my submission and continue with the reverse circuit. Do you think adding an experimental test of the reversibility by any of these ways would be interesting? If so, I may try.

@PierreDC  Thank you.
In Mathematical appendix, you use \otimes to denote matrix-vector multiplication but this may be confused with tensor product. I think it is better to remove the \otimes.
About the gate reversibility, I am not sure what you want to show. Assuming we have a good compiler, then if you combine the circuit which generates W state with the circuit that invert the W state into zero, the compiler will output identity (no operation).
Independent of this, I think your description of generating W states for arbitrary number of qubits is very good, and perhaps it can be used as benchmarking the quantum computers (because it requires significant number of cnots and gates).

@rraymonddhp OK I am not familiar with the commits and pull requests. In particular I didn’t find how to make corrections to a submitted pull request. Can you help me in the task of removing these confusing \otimes?
I agree with your “no operation” remark. However, this is also valid when you prepare an arbitrary initialization.
What interests me at this time is the error analysis in these circuits, but I am lacking background and experience about that. Using the W state model as a benchmarking method is indeed a promising idea.

Hi @PierreDC ,
To edit the PR is quite easy actually. Switch to the branch patch-2 that you are going to merge with the master of this repository.
Once you have done the edition, you can commit the changed files and then push them to the patch-2. The changes will be automatically applied.

About the error analysis, it will be interesting to see what happens.

What interests me at this time is the error analysis in these circuits, but I am lacking background and experience about that. Using the W state model as a benchmarking method is indeed a promising idea.

@rraymondhp "About the error analysis, it will be interesting to see what happens."
With an earlier version of this program, I could obtain an estimation of the classical fidelity  by calculating the Bhattacharyya coefficients for the measurement performed by running circuits |W2⟩ to  |W5⟩. I know that this is not the state of the art for error analysis (it was inspired by the paper by S. Deffner "Demonstrations of entanglement assisted invariance on IBM's Quantum Experience" https://arxiv.org/abs/1609.07459).

@PierreDC  Thanks! It seems interesting to be able to see how the error goes as we create W states with more qubits.

Thanks a lot to the reviewers!


Injecting environment variables for spring boot

This is a Question:
I am filling a devops resource we lost. He's the only one that knows how to use levant.
I couldn't find my answer online so I'm trying here.
I am deploying a spring boot app using levant. I would like to inject environment variables. Is that done through levant.yml file? does it take it as is and inject them?

@rawadrifai does the template contain variables which should be populated from environment variables as described here or something else?

@jrasell we're good.. there was a .hcl nomad config file that maps environment variables injected through jenkins into the application. Thank you!


when check multiple default slot(no named) children , no tag, no name element counted Illegally.

Version
v1.4.2
Reproduction link
https://github.com/GeneralworksInc/nuxt_nossr_error_sample
Steps to reproduce
ex1.
<no-ssr>
   is default slot. rendered on cliend
    placeholder on SSR
</no-ssr>

in dev mode,  $slots.default.length is 2, and js error occured ( in no-ssr module).
 <no-ssr> You cannot use multiple child components
    at Proxy.render (no-ssr.js:20)

ex2.
<no-ssr>
   is default slot. rendered on cliend placeholder on SSR
</no-ssr>

$slots.default.length is 1, and no error occured.
What is expected ?
in ex1,
$slots.default.length is 1.
The default property expected to contain any nodes not included in a named slot.
( https://vuejs.org/v2/api/#vm-slots )
What is actually happening?
in ex1, error occured because  vm.$slots.default.length is 2.
vm.$slots.default has 2 elements(one is "id:first" span tag, and no tag,no text element).
on ex2,  vm.$slots.default.length is 1.

This bug report is available on Nuxt community (#c7525)

Nuxt is using vue-no-ssr as the no-ssr component, per the document:

Note that <no-ssr /> can only contain at most ONE child component/element.

Thank you for the reminding, I'll add some descriptions in nuxt docs.


The project dont work

Hello, i get a problem when i try to run this project, the visual studio says "FileNotFundException" for the openalpr-net.dll, i tried to download again the archive and put the file in directory and refecence then, but a do not have a sucessfull. can you help me?

I guess you are trying to run the console app in AnyCPU configuration. You have to run it in x64.

Thanks worked , but this version ( openalpr - net.dll ) is outdated , you could upgrade? or explain how to do?

I think replacing the current DLLs inhttps://github.com/igorkulman/OpenALPR.Lib/tree/master/OpenALPR.Lib/openalpr with the newer ones should be enough.

I replaced the dlls, but now i get the error in AlprNet class, i tried edit but i can't to do this, i guess that the class is blocked for editing.

I updated the code to the latest OpenALPR.Lib (x64).

Thanks, for your help, i want create WP aplication and use this library, i want get a Bitmap image from an webcam and pass to the library and recognize the number plates, how i can todo this(as you do in console application) ?

You do not, there is no OpenALPR.Lib for Windows Phone.

Sorry rsrs, i wanted say Windows Forms Application, can you help me?, i tried yesterday with you new version of the code but a dont get success.
Ps: sorry my english is bad i hope that you understand me.

So create a WinForms app .. I will not write it for you.

I just need build de OpenALPR, and add a reference to the OpenALPR.dll that is located in "OpenALPR.Lib-master\OpenALPR.Lib\bin\x64\Debug" in my WinForm Application,that is right?


Error importing Xml

Content.npl
"styles":
{
"path": "Styles/*.xml",
"recursive": "True",
"action": "build",
"importer": "XmlImporter",
"processor": "PassThroughProcessor",
}
when build
The command "dotnet mgcb /quiet /@:"Z:\RPS\RPS.GL\Content\Content.mgcb" /platform:DesktopGL /outputDir:"Z:/RPS/RPS.GL/Content/bin/DesktopGL/Content" /intermediateDir:"Z:/RPS/RPS.GL/Content/obj/DesktopGL/net8.0/Content" /workingDir:"Z:/RPS/RPS.GL/Content/"” exited with code 1.

That not a Nopipeline issue, that's a mgcb issue.


Update CREDITS

Cleaned it up, fixed stuff that people would look at with ????.

ic u placing yourself in there as well lmfao
thanks either way

ic u placing yourself in there as well lmfao
thanks either way
lol, had to


matrix-js-sdk uses an unspecced original_event field from the /relations response

The /relations endpoint does not return an original_event field, yet the matrix-bot-sdk uses it.
We would like to remove support for this from Synapse in < 6 months. See matrix-org/synapse#12930 for more context.

This seems to mostly just be piping back information from the raw request, so maybe this just needs some documentation updates?

thanks for reporting this <3


Should -m (go.mod) cache really be per-project?

After moving some shared scripts to using gobin for several project tools, a colleague of mine expressed a concern that .gobincache directories in every project might eat up a lot of disk space due to having lots of duplicate binaries for the many projects he may be working on.
I'm not sure what the reasoning for having the -m binaries cached in a per-project fashion, so it would be useful to know what that is.
Maybe it would be possible to provide some option (perhaps an environment variable) to change the cache location?

Thanks for the feedback @douglaswth
The honest answer is that it was the easiest thing to do in the first instance and I haven't yet gotten around to doing anything better 😄
The correct way to do this is to have all binaries in the same cache, keyed by the hash of the transitive dependencies (following the same pattern as the cmd/go build cache).
That said, things shouldn't be too bad as it stands: each of these separate caches is trimmed (i.e. old entries are purged) when the cache is updated. The only slightly annoying thing is that there is a cache per module, which needs to be git ignored (or equivalent).
Let me retitle this issue to be the placeholder for the proper fix.


Update README.md

Coverage remained the same at 100.0% when pulling 2ea16b5c11d59ddecfac8c7de0b01ddcbbdf97e0 on wolfgangwalther:patch-1 into 5233b3e77e396a368130709e762fca836290a528 on iceddev:master.


Use Docker

Two containers:

MS SQL
MS .Net 8 <-- app

See Udemy course for neat way off layering building

https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/multi-container-applications-docker-compose

Currently using Docker for provision of a SQL Server instance.
Need to investigate one for the web server and .NET components.


Support for ST231

Is your feature request related to a problem? Please describe.
I try to reverse a firmware for the ST231 processor (ST200 family). But didn't find a disassembler yet. Can you add support for ST231 to ghidra?
Describe the solution you'd like
It would be nice if you can add the ST231 processor
Describe alternatives you've considered
unfortunaly none
Additional context
I attached the instruction set for the ST231.
Here also two links:
http://www.audentia-gestion.fr/STMicroelectronics/PDF/en.CD17645929.pdf
https://www.st.com/resource/en/technical_note/tn0614-high-performance-vliw-processor-core-stmicroelectronics.pdf

build tools or sample binaries?  This looks like a pretty complex ISA due to the bundles.  Instruction decoding is trivia, they're all fairly simple instructions to do in SLEIGH, but implementing the SLEIGH where flow control is involved wont be straight forward

Build tools I unfortunately do not have. But I try to get the ST200 toolset.
I have attached a sample binary.

Every time I look at this ISA I think I hate it more than the last time.
All of the instruction patterns need to track the stop bit for the bundles.  With up to 4 instructions in a bundle, with the last instruction having the the bit set.
op31=0 -> delayslot(1)
op31=1 -> delayslot(0)
It seems the options then are:

if/goto

if (op31:1 == 1) goto <no_delay>;
    delayslot(1);
<no_delay>

attach bit pattern

attach value [ op31 ] [ 1 0 ];
...
delayslot(op31);

table

stop: is op31=1 {}
stop: is op31=0 { delayslot(1); }

It doesn't look like any approach really works that well:

3  I seem to get disassembly issues
2 just doesn't work, PCODE shows as UNIMPLEMENTED
1 seemed broken when I tried it (need to revisit).

extension immediate values are just awful.  An instruction can use a signed 9-bit immediate, but if after immr or before imml in a bundle, that becomes an unsigned and added to the 23-bit extension (shifted 9 bits).  Getting the extension seems to be just a case of where the delayslot(1) is called (before or after reading the extension operand); but changing the signed to unsigned 9-bit immediate does not appear to be straight forward.

https://github.com/mumbel/ST200
I don't intend on any further development, but figured I'd post my attempt.  Bundles don't seem to work with the current delayslot() from the things I've tried.


Update libcxl_tests for prefetch_mode on Radix-mmu mode

In  Radix-mmu mode, cxl doesnt support any prefetch mode except 'CXL_PREFAULT_MODE_NONE'. This PR updates the libcxl_tests to correctly check this condition

Environment variables should be upper case.

Hey Philippe,
I have removed the commit in question from the PR as it will need more extensive changes to the Makefile and a different PR in itself.

Two comments regarding set_isRadix():

The code is wrong, because isRadix is always set. Thanks to the test:
if (rd < sizeof(buffer)) {
perror("Unable to read /proc/cpuinfo");
return -1;
}
We know that rd >= sizeof(buffer) when we evaluate
isRadix = (rd > 0) ? 1  : 0;

Also, the loop is suboptimal. Rather that repeatedly moving chars along, reading one char and comparing buffer and pattern, I suggest to fill and compare buffer and pattern line by line.

Hey Philippe,

Good catch. I may have missed a check there in the loop.Will get that fixed.

Too many boundary conditions and assumptions to make there e.g max line size. Since file cpuinfo is going to be very small and this is a testcode hence I have took the path to minimize the code needed to implement this.

@philippe56 : I have addressed your review comments in the recent revision.

Thanks !


Build time checks

The following link suggests some checks that could be run after the database has been created, to identify potential gaps:
https://github.com/ccb-hms/nhanes-exploration/blob/main/build-time-checks.md

Moved to the NHANES repo, which is more appropriate for this.


Date and time range

i have question, because "Date and time range" doesn't work correct.
I have only date "07/12/2016 - 08/24/2016" and i don't know why I can't see time.
please help

Closing due to inactivity


Update to the latest wasi-libc and LLVM 14.0.3

This updates:

llvm-project to the llvmorg-14.0.3 tag
wasi-libc to the current main branch
config to the current master branch

Updated wasi-libc to pick up https://github.com/WebAssembly/wasi-libc/pull/289.


Typescript (Added logic to clean up child windows)

Description
Fix issues and add support for BC
Changes

Fixed screen snippet
Fixed string format function
Update unit test
Snack bar style

Added

The logic to clean up child windows on before unload

QA Checklist

[X] Unit-Tests
[ ] Automation-Tests

New commit: Added logic to check media permissions


add makefile to easily build app

you should consider using github releases to distribute the mac binary
https://help.github.com/articles/creating-releases/

This looks ok, but I am not sure about one thing: what's the common practice for having a makefile in node world.

Regarding, github releases, will give it a shot.

makes sense to me, I hadn't seen that there. closed in favor of #4


Fail on Windows

I get the following output if i run the task on Windows (10 x64 technical preview):

Running: python script/bootstrap.py
Traceback (most recent call last):
File "script/bootstrap.py", line 127, in
sys.exit(main())
File "script/bootstrap.py", line 34, in main
update_atom_shell()
File "script/bootstrap.py", line 123, in update_atom_shell
execute_stdout([sys.executable, update])
File "D:\dropclient\build\win32\atom_shell_build\atom-shell\script\lib\util.py", line 150, in execute_stdout
execute(argv)
File "D:\dropclient\build\win32\atom_shell_build\atom-shell\script\lib\util.py", line 138, in execute
raise e
subprocess.CalledProcessError: Command '['D:\Python\python.exe', 'D:\dropclient\build\win32\atom_shell_build\atom-shell\script\update.py']' returned non-zero exit status 1

Python version is 2.7.9.
The node version, I run it with, is 0.10.35 32bit. I change the version with nvm in a previous grunt task.
However, the node version, I start grunt with, is 0.12.0.
If I just run python script\bootstrap.py it works without any issues.
Someone any suggestions?
-Trixt0r

Okay, I now figured out that there is a problem with long strings in the *.exe name.
I had a name with a hash in it, something like app-prd-FHZDH-UZRE8670-98867HFG-JFZDN-HUZFG.
Anyway, shortening the name, solved the problem.
But I think it is still an issue which has to be fixed, since there is no such problem on OS X.
I guess this is a Python on Windows problem.
-Trixt0r

Can't really fix this, sorry :(


Model loading issue

Latest version v1.18.0 introduced a bug.
1.17.0 still works well.
Specifically, model_artifacts/layout/beehive_v0.0.5/model.pt cannot be loaded by torch.jit.load.
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Please check that you run poetry install after updating.
There is a dependency bump specifically for docling-ibm-models = "^2.0.0", latest layout model doesn't use ONNX backend, but works with just Torch, hence new weights have to be fetched, as old ones are not compatible.
Please let us know if that helped

Thanks for the quick response.
I just confirmed that docling-ibm-models was updated to 2.0.0 as well. My torch version also matches 2.2.2.
I tried manually loading both of these using torch.jit.load and it raised the same error. Maybe the weights were corrupted when uploading them?

@victor-ab, strange indeed docling-ibm-models 2.0.0 reads layout model weights from different sub-folder: "model_artifacts/layout/beehive_v0.0.5_pt/" (with _pt in the end)
Can you try to delete huggingface\transformers cache on your machine, see if that could help your situation?

I guess it was some sort of cache issue. Deleted the whole env and reinstalled it, now it points to the _pt. Thanks


feat: soft delete

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[JR-139] Dynamic list view of channels

Will this work with nextjs?
Shouldn't the pages be in src/@next/pages?

Will this work with nextjs?
It works on my machine with nextjs.
Shouldn't the pages be in src/@next/pages?
I'm not sure, now there are only pages in that folder that are require a logged in user.

From the next.js docs https://nextjs.org/docs/advanced-features/src-directory


Upgrade to JBoss Logging 3.4.1.Final

Fixes #705

Upgrading this library, shouldn't  cause any problem with Quarkus, isn't it? @Sanne

That's fine, Quarkus now also was upgraded to 3.4.1.Final


Cherry picks 1.12.2

#26049
a020ec4c8b476a814eb137e216fe9d723524fc3b Check for non-nil container after match
#24335
d9e12cba5a9a2291f56eb3921b06ac1b5f85dfc7 ppc64le: remove go SHA check
#25869
11eda60848e476c3a1d84a035642edba74e94c8a debian sysvinitscript one missed DOCKER->DOCKERD change
#26260
7b5c3d935a7a99b282f0f859101c887894a0b00e Clarify usage of --force when used on a swarm manager
#26313
b9e46235fadc6b390e2c04c44b6a865e4ea97cb8 Fix incorrect help output in docker network ls
#26737
26b6b47420be3e0d932a5e128ac2304b9e93efc2 Modify the print and comment of setting host configuration options when the container starts
#26607
5cfbdceafe87df8bab85c0561a1483d3191eb775 Vendoring boltdb @fff57c100
#26282
341489f1500873a6aa51998f49c1da7f7fd8eb5a docker node inspect <node> --pretty needs an extra newline at the end
#26669
f528690674712b680caf2712092c7e2f8f236491 re-vendor syslog package
#26536
0e539fec331cb9dbc4ef784b55516570b11affe2 Add retry logic during aufs unmount
#25578
0fd4bbda2dfb9a1bfc6781f2a3dacedc62c7c11b Force input stream ANSI emulation for ConEmu
#26208
e95b6b51daed868094c7b66113381d5088e831b4 Fix exec form of HEALTHCHECK CMD
#26740
87124b9d62bc71f7632126cf7f8d5eb805c4a7f1 Update fluent-logger-golang to v1.2.0
#25965
9cb8fb6ea03fcd78010ce7dd33585d96cd73e38c Fix AuthZ plugins headers change issue
#24740
5e505d101f0201a4d045510d0a9b0c66697dedfe devmapper: prevent libdevmapper from deleting /dev/mapper/docker-xxx symbolic links in RemoveDeviceDeferred

LGTM 🐸

@vieux please make sure the cherrypicks are done with -x (and to prevent bad surprises sometimes -s is also welcome). Hopefully it's not too much to ask :S

@tiborvass repushed with -x and -s
@docker/core-engine-maintainers this is ready for review.

07:03:49 FAIL: docker_cli_run_unix_test.go:1121: DockerSuite.TestRunSeccompDefaultProfileNS
07:03:49
07:03:49 docker_cli_run_unix_test.go:1180:
07:03:49     c.Assert(err, checker.IsNil)
07:03:49 ... value *errors.errorString = &errors.errorString{s:"goroutine 4: expected No such file or directory, got: /go/src/github.com/docker/docker/bundles/1.12.1/test-integration-cli/../binary-client/docker: Error response from daemon: failed to create endpoint small_dijkstra on network bridge: failed to save bridge endpoint c887537 to store: failed to update bridge store for object type *bridge.bridgeEndpoint: timeout.\n"} ("goroutine 4: expected No such file or directory, got: /go/src/github.com/docker/docker/bundles/1.12.1/test-integration-cli/../binary-client/docker: Error response from daemon: failed to create endpoint small_dijkstra on network bridge: failed to save bridge endpoint c887537 to store: failed to update bridge store for object type *bridge.bridgeEndpoint: timeout.\n")

Looks like we hit a libnetwork bug.
ping @aboch

It looks like this is missing https://github.com/docker/docker/pull/26211. That's a pretty important one.
How did that fall through? Do we not cherry-pick all the PRs on the 1.12.2 milestone?

@aaronlehmann I let @vieux examine this particular PR, but just to clarify: we don't directly cherry-pick all PR from the milestone (as described here). It can be misleading, but the milestone is the pool of changes to evaluate, and then decision is taken for each based on priority, risk, and value to the user.

@aaronlehmann I look mostly at PRs with the process/cherry-pick label. After I look at the others in the milestone, I must have missed it. add it now

for some reason github shows build 24374(aborted) for experimental, but it should show build 24375(running)

the experimental failure is a know flacky test (fixed in master) https://github.com/docker/docker/pull/25808
@LK4D4 @mlaventure @crosbymichael @anusha-ragunathan PTAL

LGTM

LGTM


Samples Delete Cards

Do you want to request a feature or report a bug?
feature
What is the current behavior?
If you click the 'Load sample' button, it will replace the current deck. I recommend having it add them to the current deck, like what happens when you 'Load from file'

Yes, please!  This simple change will enable saving multiple JSON files, each with specific subsets of cards defined, and then mix-n-match the results for a new printout.
It also avoids the screams of despair when loading the sample, and silently losing work done to add some existing cards.
@PhilosophasterDC … because the JSON files might define default values, what result when the newly loaded default value (e.g., default card colors, default backgrounds, etc.) differ from existing default values and selecting to load the samples (or load files)?

New mantained fork https://github.com/crobi/rpg-cards/issues/159


Changes Codespaces limit from 2 to 5

Why:
Closes #8590

What's being changed:

However, each user account has a two-codespace five-codespace limit during limited public beta.

☝This part in this file which will ultimately affect this article.
Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

@thispsj Can you enable the checkbox to allow maintainer edits? Then I'll be able to hit the update button and get this merged in. Thank you! https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Updated branch
@ramyaparimi


Cant open project via editor on mac

Godot version
4 beta 17 mono
System information
Mac OS Ventura 13.0
Issue description
Cant open new (empty) projects on mac machine
When you create new project or open existing one, editor closes and error report appears

(not sure if I can publish it, but if you ask, I can leave details of mac bug report in the comments or I can send you that one by email)
Steps to reproduce

Open editor
Create new project (OR chose existing one)
Open it
Crash

Minimal reproduction project

Basically anything

Maybe it's still a known issue, but I will make this update anyway
Mac Ventura 13.2
Godot 4 RC1 (mono version)
$dotnet --info
.NET SDK:
Version:   7.0.102
Commit:    4bbdd14480
Runtime Environment:
OS Name:     Mac OS X
OS Version:  13.2
OS Platform: Darwin
RID:         osx.13-arm64
Base Path:   /usr/local/share/dotnet/sdk/7.0.102/
Host:
Version:      7.0.2
Architecture: arm64
Commit:       d037e070eb
.NET SDKs installed:
6.0.405 [/usr/local/share/dotnet/sdk]
7.0.102 [/usr/local/share/dotnet/sdk]
still can be reproduced
Create new / using existing project -> Crash

Godot 4 RC2 (mono)
Seems like the problem was resolved
Now its possible to create new or open old projects


Unable to login due to invalid credentials

Version 1.2.0

Configuration

Status: 401
Code: Unauthorised
Title: Authentication is required
Detail: the user credentials were incorrect

Describe the bug
Tried to turn off charging to be displayed with an error saying it could not perform the action and needed to be Authenticated.
Reloaded the extension via hacs which then required a reboot of Home Assistant. After this was successful Home Assistant said we needed to re-configure it to which I tried to find it would not longer accept my correct user name and password leaving me to revert to the Podpoint app.
Debug log

Add your logs here.

Sorry I have not done logs, only been using Ha for 12 months and first time I've had an issue so still learning the ropes as such.

@robintoy try loading the PodPoint app on your phone. I had the same issue today and my iPhone app loaded without issues however the iPad app had logged me out and wouldn’t recognise my password. I had to reset password and log in iPad, iPhone and HA with the new password

Resetting the password worked for me as well @townsmcp, thanks.

Hi @townsmcp
The strange thing is I have not used the podpoint app in 12 months due to this HA tool.
I did login (using details from password manager) about 3 days ago and it worked so did not even think of that. So I logged out and used details from my password manager and it would not work again.
Reset as you say and bang! Working like a charm, just shows you how bad podpoint is software wise.

Pleased it worked for you both. I’m sure PodPoint did something in the last few days to be exhibiting this behaviour. I thought it strange the way my iPad wouldn’t sign in on Saturday with the correct password, even more strange that I’m not the only person to have got the same issue.
I use the iPad/iPhone app daily to log mileage, cost per mile, amount of electric I have put into the car, amount of petrol I have put into the cad etc in a brilliant app called Spritmonitor

I also had "the user credentials were incorrect" error appear, and also fixed it by resetting my password in the PodPoint web app https://charge.pod-point.com/login.
Because the github issue list hides closed issues in the default search, maybe it would be worth leaving this issue open for a little longer to make the solution a bit more visible to other people who come searching?

I'm re-opening this issue so that anyone coming with the issue can find it

I'm going to close this issue with an assumption that anyone affected will have fixed the issue using this post, or doesn't care anymore 😄


Review  Coverage/Transcriptions page for enhancements

Coverage is currently a link to the FreeBMD1 Coverage page - other pages needing to have their content here need reviewing and listing
potential enhancements
stage 1) place coverage page in the 2/3 space, and put links to sub pages in the 1/3?
stage 2) replicate the coverage page in the 2/3 space, plus move other date here from the sub-pages of the previous iteration, if needed.

Documentation of 'Records' (was Coverage/Transcritions' now begun on
https://docs.google.com/document/d/1okpxJDQ6fPp1AgT00TewH1HIYr4hVLYhZIkGJEV2J5M/edit?usp=sharing

Phil to take a look/review.

Hi Philip, can you take a look @PhilipClarke712

Hi Pat,
I’m two weeks into a short break from FreeBMD (1 & 2), but I should be back by the end of the month.

We need a top level page, but I can “clone” one from elsewhere and put some text and hyperlinks into so that people can comment / change it, etc.

From memory, everything except the detail behind the “Districts heading” was treated in the review of hyperlinks as level 2 and was marked "to be moved across for MVP”. All these pages were moved across as html pages, but some of them were actually taken from shtml pages that called up perl pages and or images produced every 28 days during the FreeBMD data-base update. So, some html pages in Refinery might be surplus to requirements or need to be rewritten depending on how these “date-base” functions (in the wider sense of including meta-data images) are to implemented on FreeBMD2.

Nothing behind the “Districts heading” ( https://www.freebmd.org.uk/DistrictInfo.html ) was considered to be level 2 pages, but they are called up elsewhere from existing MPV pages, so I started on https://www.freebmd.org.uk/DistrictInfo.html . This page  ( https://www.freebmd.org.uk/distvolpage.html  ) is also on Refinery, apart from adding images (last time I looked images were not implemented on test3). This page ( https://www.freebmd.org.uk/district-list.html )is partially on Refinery; it’s a very big table and I asked from some guide on its implementation about two weeks ago (you were copied in). There will be another two pages like it. All the remaining hyperlinks on District-Info are either direct links to very large tables or are links to index pages that are themselves hyperlinks to very large tables. I believe all these tables are “static”, I.e. they are not updated now on the 28-day update cycle. If this is correct, they can all be done in html.

Sent from Mail for Windows 10
From: PatReynolds
Sent: 23 September 2020 17:31
To: FreeUKGen/FreeBMD2
Cc: PhilipClarke712; Mention
Subject: Re: [FreeUKGen/FreeBMD2] Review Coverage/Transcriptions page forenhancements (#257)
Hi Philip, can you take a look @PhilipClarke712
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'm going to refer some of the decisions regarding the "practical" aspects of this to Pat and Rich.
Twenty or so years ago, when I started using FreeBMD(1) for research, the first thing I did would be to look at the coverage charts to see if using FreeBMD was appropriate for the records I wanted to search, or whether I would need to use a commercial site. Back then the FreeBMD records were effectively complete up to the 1910s and some up the 1920s, so searching for newer records mean using a commercial site. Note: some of the early images were of poor quality, but better scans were obtained and new transcriptions based on these scans were added. Those transcriptions with "high" rates of uncertain characters (UCFs) from the older scans were phased out. So "quality" has also improved.
Ten years ago this month, when I started transcribing for FreeBMD, I was working on 1945 deaths; by April 2014 I was working on 1972 records and by February 2017 I was working on 1981 records. Other syndicates may well have been working or new or older records at the same time. However, tremendous progress has been made in expanding the coverage of the records.
As a year or quarter of scans for a specific event (B, M or D) were allocated to individual syndicates there were "holes" in the coverage. I'm pleased to say that they have gone, except for two. Marriages has one "hole" in the fourth quarter of 1969 (see https://www.freebmd.org.uk/progressM.shtml ) and Deaths one in the second quarter of 1980 ( https://www.freebmd.org.uk/progressD.shtml) but this "hole" may have gone, at the current rate of progress, by the next data-base update (or the one after).
The images that form the FreeBMD(1) coverage chart pages are "refreshed" during every data-base update and reside on FreeBMD(1) in a sub-directory /stats so the corresponding FreeBMD2 pages can't be made in html and put through Refinery. They need to be done by development as "Apps", which means they will be on the html coverage page as  hyperlinks, in three section headers or pages, in the 2/3rd panel; or as hyperlinks on a sub-navigation menu in the 1/3rd panel. There are also the resource allocations in updating them every 28 days in both FreeBMD 1 and 2,
I would like to put forward the suggestion that looking that the progess pages e.g. progressB, progressM and progressD, we have effectively 100% coverage for all three events up to the end of 1982 so these paticular charts are not going to change (give or take) from one 28-day update to the next. This will not be true for post 1983 records, they will need to be implemented on FreeBMD2 as "Apps".
If that suggestion was considered viable - it would be possible to copy all those images upto the end of 1982 into Refinery and build those coverage charts in html - so they would go into the 2/3rd panel. The post 1982 coverage will need to be done by development as Apps, so would hypelinks either in the 2/3rd or the 1/3rd panels. They also need refreshing every 28 days.
I will put more detail against #275 (as this is covered there as well), but my gut fealing is that this tab should be the place for the information that is to be found in the Statistics section of https://www.freebmd.org.uk/iindex.shtml . Everything else is either the topic of the About tab or the Help tab.
Note: The information to be found under https://www.freebmd.org.uk/DistrictInfo.html is I beleive within the scope of this Records tab but it is also called up from the Help tab.
Off topic, I was asked to concentrate my efforts on the Help tab and put into Refinery the missing 3-ary pages on Help tab, but this crosslinking means that I am also working on the 3-ary pages which are called up the 2-ary pages waiting to go into the as yet unbuilt page that will form the Records tab.

There is one additional point to comment upon.
FreeBMD(1)'s GRO Index transcriptions, from a "black-box" view point, are organised by transcriber, e.g. two or more people transcribed pages 1886B1B0052 & 53. I was one of the two (or more), so there is a copy of these two transcript files (.bmd) against my username and there is at least one other copy against a different user name(s). If we (I) are still active we (I) get the transcription error report requests to do (alternatively they go to one of our syndicate leader(s), or to Allan Raymond).
Perhaps, as an acknowledgement of this individual effort, every search on FreeBMD names the transcriber (their "username" as a minimum, but they might choose to provide more details like real name and/or email address) of that record and every 28 days FreeBMD produces a graph of each transcriber's contribution over time, all 12,526 of them (see https://www.freebmd.org.uk/db-latest.shtml  which is also produced on a 28-day cycle and needs programming). They form the biggest block on records clickable from https://www.freebmd.org.uk/statgraphs/ . One very impressive one is for a  fellow transcriber https://www.freebmd.org.uk/statgraphs/s-marsdavs.gif (almost five and a half millon records).
At the moment neither test2 nor test3 name the transcriber, perhaps that is still to be implemented. On the basis of what is done on FreeBMD, I'm of the mind to put these transcriber graphs into the FreeBMD2 Coverage / Transcriptions page - if they exist on FreeBMD2. I know where they reside on FreeBMD (the sub-directory is given). To put them onto FreeBMD2 is a programming job (12,550 images files) that will need updating 13 times per year. OK , I suspect that only 10% of those are active, but that is still a lot of images to update on a four-week cycle. That is a big commitment of resources and I can't impose that on the project on my say so.

Hi @PhilipClarke712  are anyy of these needed urgently (before beta release)?

Hi @PhilipClarke712  are anyy of these needed urgently (before beta release)?

They are not urgent.
The pages don't exist on FreeBMD2 so the easy way round is not have the live hyperlinks to those facilities (they are all hyperlinked from a "higher page"). So you can't do them on FreeBMD2, yet.
Another way round would be to hyperlink to the FreeBMD (opening in a new tab) page, but I can't (or must not) do that.

They are not urgent.
The pages don't exist on FreeBMD2 so the easy way round is not have the live hyperlinks to those facilities (they are all hyperlinked from a "higher page"). So you can't do them on FreeBMD2, yet.
Another way round would be to hyperlink to the FreeBMD (opening in a new tab) page, but I can't (or must not) do that.


Add inputs and outputs to transactions

Motivation
This PR adds the possibility to reference previous transactions, and use an UTXO model. This is not enforced, it is possible to use only the first output, and use only one payload as it was before.
How Has This Been Tested?
Unit tests has been run.
Checklist:

[x] I have added a Signed-off-by
[x] Either no new documentation is required by this change, OR I added new documentation
[x] Either no new tests are required by this change, OR I added new tests

Signed-off-by: Zsolt Szilagyi<EMAIL_ADDRESS>

@esgott please edit the pr comment with a more comprehensive description of what the change is and what motivated the change.

@christo4ferris done

thanks


Create Getting devices and checking device properties.ipynb

a new notebook example on get_devices and device properties
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Does it make sense to describe what API call get_devices uses here? And does it make sense to add examples for using the AWS CLI to retrieve devices (either here or somewhere else)?

Does it make sense to describe what API call get_devices uses here? And does it make sense to add examples for using the AWS CLI to retrieve devices (either here or somewhere else)?

get_devices is not an API call, get_device is.

Does it make sense to describe what API call get_devices uses here? And does it make sense to add examples for using the AWS CLI to retrieve devices (either here or somewhere else)?

get_devices is not an API call, get_device is.

What API call does it use then? Does it make sense to mention it?

Does it make sense to describe what API call get_devices uses here? And does it make sense to add examples for using the AWS CLI to retrieve devices (either here or somewhere else)?

get_devices is not an API call, get_device is.

What API call does it use then? Does it make sense to mention it?

AwsDevice.get_devices() uses the get_device() API call. People can find API calls in the developer guide, and including API calls in the notebook is not the priority at the moment.


net: ieee802154: software destination MAC address filtering

IEEE802.15.4 software destination address filtering for drivers not implementing IEEE802154_HW_FILTER (e.g., ieee802154_cc13xx_cc26xx_subg).
Only checks for matching self / broadcast dest. address for the EXTENDED address mode, check passes for all other modes for now.
Fixes #36267.

(will fix compliance after getting some feedback on the solution)

@hubertmis Will you be able to have a look at this PR?

Thanks for the feedback guys. Sorry for bothering you with those pull reqs, I didn't install the tooling required for compliance testing on my machine, although I'll do that tomorrow.

Though it seems some IEEE802.15.4 tests are failing :(
I'll try to look into it this weekend.

@niflostancu I've had a brief look at the tests, and I've identified 2 issues with the test itself:

The init function of the fake driver used in the test did not call ieee802154_init() here, so the address field in the 802.15.4 context was not initialized properly,
And the ext address configured in the fake driver does not not match the one used in the test frame, therefore the packet is dumped an no ACK sent.

Sorry, I've been busy with work. I will fix the test this week, maybe tonight.

Yay, finally managed to dedicate some time and fix the test :D


Pulsar Host going offline

Hey, great library!
When the pulsar host becomes unavailable, the following exception is thrown:
java.lang.NoClassDefFoundError: org/apache/pulsar/shade/io/netty/util/concurrent/DefaultPromise$1
which seems strange :)
Also is there another way to detect a connection closing (some kind of callback maybe?)

Anymore to the stack trace ?
On Thu, 22 Nov 2018, 09:23 Alexej Haak<EMAIL_ADDRESS>wrote:

Hey, great library!
When the pulsar host becomes unavailable, the following exception is
thrown:
java.lang.NoClassDefFoundError:
org/apache/pulsar/shade/io/netty/util/concurrent/DefaultPromise$1
which seems strange :)
Also is there another way to detect a connection closing (some kind of
callback maybe?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sksamuel/pulsar4s/issues/11, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtZGqL5aN9nHc91xwSwQkoUNE1eI2BZks5uxmz1gaJpZM4Yu8xX
.

Ah sure sorry
Exception in thread "pulsar-client-io-1-1" java.lang.NoClassDefFoundError: org/apache/pulsar/shade/io/netty/util/concurrent/DefaultPromise$1
        at org.apache.pulsar.shade.io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:432)
        at org.apache.pulsar.shade.io.netty.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:94)
        at org.apache.pulsar.shade.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:925)
        at org.apache.pulsar.shade.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.pulsar.shade.io.netty.util.concurrent.DefaultPromise$1
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 5 more

Try adding pulsar-common or pulsar-admin to your classpath. If that fixes it I'll include them in the release pom.

Will try that!
Is catching an exception the right way to handle the client disconnecting or is there another way?

adding libraryDependencies += "org.apache.pulsar" % "pulsar-common" % "2.1.1-incubating", fixed it, it will now also auto-reconnect

Yes I will release today I think, master is on 2.2 if that's ok.

Yes ofc
Outlook for Androidhttps://aka.ms/ghei36 herunterladen

From: Stephen Samuel<EMAIL_ADDRESS>Sent: Thursday, November 22, 2018 12:17:34 PM
To: sksamuel/pulsar4s
Cc: Alexej Haak; Author
Subject: Re: [sksamuel/pulsar4s] Pulsar Host going offline (#11)
Yes I will release today I think, master is on 2.2 if that's ok.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sksamuel/pulsar4s/issues/11#issuecomment-440998511, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABAA0jt2ABmpWki-7rB9qCY8nGsykp7Sks5uxofOgaJpZM4Yu8xX.

2.3.0 is released.


Do not show current breadcrumb page by default

Description
Change a breadcrumb metadata config to hide the current page by default
breadcrumbs-hide-current-page: on/off (default: off) to breadcrumbs-show-current-page: on/off (default: off)
Resolves: MWPW-117620
Test instructions
In the breadcrumbs just under the global navigation you should not see the page title as extra breadcrumb entry.
What Is Claymation? How Clay Animation Works | Adobe should be hidden by default.
Test URLs:

Before: https://main--cc--adobecom.hlx.live/creativecloud/animation/discover/claymation
After: https://main--cc--adobecom.hlx.live/creativecloud/animation/discover/claymation?milolibs=breadcrumbs-default-values--milo--mokimo

Changed the documentation accordingly!


feat: port Topology/Algebra/UniformRing

The typeclass synthesis problems encountered by @LukasMias were due to multiply declared [Ring α] instances at the beginning of the file. Sectioning these off fixed the primary issues.


Fix Pull Requests Reviewers

Hi,
can someone please fix the PR reviewers setting. There are PRs that already have been approved by two reviewers, but the PRs are not merged automatically. Maybe these reviewers need another role or something. E.g. https://github.com/International-Data-Spaces-Association/IDS-testbed/pull/41 has enough reviewers but is not merged.
@Sonia-IDSA can you do this?
Thanks.

Hi,
I don´t think I can. I´d like to ask @ssteinbuss and @anilturkmayali for some support here. PR #54 is another example.
Thanks,
Sonia

Hi again,
We changed the permissions of the reviewers (@sebplorenz , @SebastianOpriel and @Arian-IDSA )
Issue can be closed
Sonia


Extend Anderson Darling to cover Weibull distribution

Is your feature request related to a problem? Please describe.
The current scipy.stats implementation of Anderson Darling only covers {‘norm’,’expon’,’logistic’,’gumbel’,’gumbel_l’, gumbel_r’, ‘extreme1’}.  However according to https://www.itl.nist.gov/div898/handbook/eda/section3/eda35e.htm tables of critical values are also available for the Weibull distribution.  In R , gofstat implements these tests https://www.rdocumentation.org/packages/fitdistrplus/versions/1.0-14/topics/gofstat
Describe the solution you'd like
Extend Anderson Darling to cover the Weibull distribution
Describe alternatives you've considered
Additional context (e.g. screenshots)

I found https://www.fpl.fs.fed.us/documnts/fplrp/fplrp493.pdf
an older 1989 working paper with 2 parameter and 3 parameter Weibull distribution
has also an approximation formula for the 3 parameter Weibull that depends on the shape parameter
cross-ref to statsmodels question https://github.com/statsmodels/statsmodels/issues/6135

Just a note to clarify that the scipy and statsmodels question are not the same.  The statsmodels question is for when the parameters are unknown.  Statsmodels already handles this case for expon and norm unlike scipy.

scipy.stats.anderson also estimates the parameters, loc and scale,
The only difference is that statsmodels has better approximation for the distribution of the test statistic for expon and norm and computes also p-values.
Right now I don't remember what there is for AD with known parameters, it has the same critical values for all Null distributions, AFAIR.
Does scipy have the ks_test analogue for AD with known parameters?

Just a note to clarify that the scipy and statsmodels question are not the same. The statsmodels question is for when the parameters are unknown.

@josef-pkt answered:

scipy.stats.anderson also estimates the parameters, loc and scale,

which is accurate, but I thought I'd add that SciPy's documentation for anderson states:

Anderson-Darling test for data coming from a particular distribution.

If "particular" means a distribution with known parameters rather than a family of distributions, this is not strictly accurate, and I think it's the source of some confusion. At least for normality tests, SciPy's critical values are those from Stephens 1974 for when the parameters of the distribution are unknown (Table 1.3).

The only difference is that statsmodels has better approximation for the distribution of the test statistic for expon and norm and computes also p-values.

I would agree that SciPy's critical values are not very accurate. For example, other papers have reported different critical values and interpolation methods that agree better with Monte Carlo simulation.

Right now I don't remember what there is for AD with known parameters, it has the same critical values for all Null distributions, AFAIR.

The k-sample extension of the test doesn't depend on the distribution being tested, but I think it matters for the one-sample test.

Does scipy have the ks_test analogue for AD with known parameters?

I'm not sure I understand the question, but here is a comparison of the two tests:

ks_1samp assumes the distribution is known exactly (all parameters are known), anderson (as implemented) assumes that all are unknown.
Both use statistics that compare the empirical CDF, but anderson's statistic looks sensitive to all sorts of differences, whereas the KS statistic is simple, probably so that the null distribution of the statistic is easy to calculate.

There are a lot of ideas that come out of a study of this issue. Here are my thoughts for a plan forward.

SciPy's Weibull distributions should override the fit method. That's tracked in gh-11782. Until that's done, I don't think it makes sense to extend anderson for Weibull in particular, because it seems unnecessary to maintain custom code in anderson to do fitting. (That said, I'm open to extending anderson to work with any distribution; see #3/4 below.)
norm.fit uses the MLE for scale: scale = np.sqrt(((data - loc)**2).mean()). anderson currently fits using the less biased s = np.std(x, ddof=1, axis=0). I think fit is OK because it's supposed to be MLE, but I think we should add a note to anderson that it fits the normal distribution using the corrected sample standard deviation rather than MLE.
Both ks_1samp and anderson would benefit from a parameter that allows the user to specify whether the distribution is known exactly or whether the parameters are estimated - or better, the user could separately specify the distribution family (e.g. stats.norm) and which parameters are known (e.g. known_params = {'loc': 0}).
a. The default for ks_1samp is that the parameters are exactly known, but if the parameters are unknown, it becomes Lilliefor's test if the distribution is normal, and the same idea can be extended to other distributions.
b. The defaults of anderson is that the parameters are estimated, but we should also be able to do the version of the test in which parameters are known.
We can keep the existing behavior where desired, but a lot of new functionality can be added quite easily with general code using monte_carlo_test.
a. When the distribution is known exactly, it would be very fast to approximate anderson p-values on the fly using monte_carlo_test for any distribution with a fast cdf. These test can still be used when the parameters are unknown, in my opinion, but it will have low power.
b. When the distribution is not known exactly, we can still calculate p-values on the fly using monte_carlo_test, but it requires fitting the distribution to each Monte Carlo sample. This can be reasonably fast for most distributions with an overridden fit method, and almost as fast as the case when the distribution is known exactly if we can vectorize the fit calculations. It could still be useful (when there is no alternative), albeit slow, even when we need to rely on numerical optimization for fitting.

Here's a rough example of what I have in mind, although it would need to be worked into the existing interface.

import numpy as np

from scipy import stats

def anderson(x, family, known_params={}):

    known_fit_params = {'f' + param: val for param, val in known_params.items()}

    dist = None
    try:
        fit_params = family.fit(x, **known_fit_params)
        dist = family(*fit_params)
        statistic_dist = None
    except (ValueError, RuntimeError):  # "All parameters fixed. There is nothing to optimize."
        dist = family(**known_params)
        statistic_dist = dist

    def statistic(x, dist=statistic_dist):
        """Compute the Anderson-Darling statistic A^2"""

        # If any parameters are unknown, fit a distribution to the data
        if dist is None:  # otherwise dist from above is used
            params = family.fit(x, **known_fit_params)
            dist = family(*params)

        # compute A^2
        x = np.sort(x)
        n = len(x)
        i = np.arange(1, n+1)
        Si = (2*i - 1)/n * (dist.logcdf(x) + dist.logsf(x[::-1]))
        S = np.sum(Si)
        return -n - S

    res = stats.monte_carlo_test(sample=x, rvs=dist.rvs, statistic=statistic,
                                 alternative='greater')
    return res.statistic, res.pvalue

x = np.array([148, 154, 158, 160, 161, 162, 166, 170, 182, 195, 236])

res = anderson(x, stats.rayleigh)
print(res)

Ideas for improvement:

statistic can be vectorized when all parameters are known
guesses can be provided (possibly from the original fit) to speed up optimization when fit isn't overridden

@lesshaste @Phillip-M-Feldman @nayefahmad I'm mentioning you because you seem to have some experience with the Weibull distribution.
How often do you use the Weibull distribution for shape parameter < 1 (i.e. when the PDF looks like a decaying exponential)?
I think https://github.com/scipy/scipy/pull/12787 would close this issue for shape parameter > 1, but there are difficulties when the data lead to small values of the shape parameter (or the data is generated from Weibull with a small underlying value of the shape parameter).


Sideloaded app not rloading on code change

I am following the tutorial and made changes mentioned in section 2. Customize your tab content page, but my changes are not reflected on my teams tab. Should I re-upload the the app on teams. Is there any livereload or hotreload solution ?

@ceessay :
Could you please check your manifest whether your changes are reflected or not, if not please uninstall and install your application.
There is no option of auto reload.
Could you please have a look on reference document.

marking as InActive user


Crashpad Major Disk Usage

Issue Type: Performance Issue
I'm using:
MacBook Pro (15-inch, 2018)
CPU: 2.2 GHz 6-Core Intel Core i7
Memory: 16 GB 2400 MHz DDR4
OS: Big Sur 11.3.1 (20E241)
I started getting warnong messages of low hard drive space. After running a scan with a tool Disk Inventory X it was discovered there was SIGNIFICANT (80Gbs) disk usage under path: /Library/Application Support/Code/Crashpad.
completed - 48gb
pending - 31.9gb
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z)
OS version: Darwin x64 20.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 5, 6

Memory (System)
16.00GB (0.10GB free)

Process Argv
--crash-reporter-id aa9d5fb2-1faa-4863-a68d-5269674de962

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   18	   115	 79203	code main
    2	    49	 79249	   gpu-process
    0	     0	 79257	   utility
    2	    49	 79548	   shared-process
    0	     0	 79573	     ptyHost
    0	     0	 32400	       /bin/zsh -l
    0	     0	 33130	       /bin/zsh -l
    0	     0	 65439	       /bin/zsh -l
    0	     0	 96898	       /bin/zsh -l
    0	     0	 97430	       /bin/zsh -l

Workspace Info
|  Window (.editorconfig — alp)
|  Window (ConvertCampaign.js — scent-beauty-discount-app)
|  Window (ripenCart.js — scent-beauty-shopify)
|    Folder (scent-beauty-discount-app): 231 files
|      File types: js(127) scss(22) json(5) example(4) gitignore(3) md(3)
|                  html(3) nvmrc(2) png(2) ts(2)
|      Conf files: package.json(3)
|    Folder (scent-beauty-shopify): 957 files
|      File types: liquid(533) js(108) png(86) scss(75) svg(50) jpg(20) css(8)
|                  json(7) DS_Store(5) woff(2)
|      Conf files: package.json(1)
|    Folder (alp): more than 20305 files
|      File types: php(8260) xml(2395) js(664) phtml(281) csv(272) html(215)
|                  css(208) png(147) json(108) md(85)
|      Conf files: settings.json(2) eslint.json(1);

Extensions (30)

Extension
Author (truncated)
Version

better-comments
aar
2.1.0

atlascode
atl
2.8.6

vscode-intelephense-client
bme
1.7.1

bracket-pair-colorizer-2
Coe
0.2.0

vscode-eslint
dba
2.1.20

es7-react-js-snippets
dsz
3.1.1

gitlens
eam
11.4.1

prettier-vscode
esb
6.4.0

php-debug
fel
1.15.1

php-intellisense
fel
2.3.14

auto-close-tag
for
0.5.10

auto-rename-tag
for
0.1.6

magento2-extension-pack
jer
0.1.0

magento2-snippets
jer
0.1.2

vscode-docker
ms-
1.13.0

python
ms-
2021.5.842923320

vscode-pylance
ms-
2021.5.3

jupyter
ms-
2021.6.832593372

remote-containers
ms-
0.177.2

php-docblocker
nei
2.1.0

language-liquid
nei
0.1.1

vetur
oct
0.33.1

material-icon-theme
PKi
4.7.0

vscode-commons
red
0.0.6

vscode-yaml
red
0.19.2

LiveServer
rit
5.6.1

synthwave-vscode
Rob
0.1.8

shopify-liquid
sis
2.3.0

svelte-vscode
sve
104.13.0

twig
wha
1.0.2

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
pythonvspyt639:30300192
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30307504
vscorehov:30302759
bridgeflightcf:30302070
vscod805cf:30301675

I have the exact same problem.
 I then investigated what would take so much IO and found ~/Library/Application Support/Code/Crashpad to be the culprit.
There are 105,780 .dmp files, all created the same day (today). That would be more than 10,000 dmps per hour.
My specs are similar to the original poster:
MacBook Pro (15-inch, 2019)
CPU: 2,3 GHz 8-Core Intel Core i9
Memory: 16 GB 2400 MHz DDR4
OS: Big Sur 11.4 (20F71)
VS Code version: Code 1.57.1
OS version: Darwin x64 20.5.0
I have the following extensions in common with the original poster:

vscode-eslint
vscode-intelephense-client
gitlens

Please attach some of the recent crash dumps generated, it will help identify what is causing these. Thanks!

Hi @deepak1556 , thanks for your help!
Here are some that I saved (tell me if you need more! I still have ~700 of them around, though they're pretty much around the same time, I deleted the rest to get back some disk space):
12 .dmp files: dmps.zip

@pascallapradebrite4 based on the logs, the issue you are facing is same as https://github.com/microsoft/vscode/issues/127392. Please follow the next steps attached there. Thanks!

@kroseRipen can you also attach the latest crash dumps, as I don't see dotnet extension in your list. You might be having a different issue. Thanks!

@deepak1556 Awesome, thanks!
Turned off crash reports for the time being, and I'll open a report in the vscode-dotnet-runtime extension repo tomorrow if #127392 's OP didn't do it yet.

@pascallapradebrite4 Opened an issue here: https://github.com/dotnet/vscode-dotnet-runtime/issues/252

Closing as issue is outside vscode core.


Protobuf comments may be interpreted as doctests

When a protobuf file includes comments that indent or triple-quote text, the generated code fails doctests.  For example, a protobuf like the following:
https://github.com/linkerd/linkerd2-proxy/blob/fffe76dae9c72a2184848de5e863206f7e5ebd4b/opencensus-proto/opencensus/proto/trace/v1/trace.proto#L154-L157
will cause test failures like:
running 1 test
test /home/ver/b/l2-proxy/target/debug/build/opencensus-proto-052098f4f8ec2ee6/out/opencensus.proto.trace.v1.rs - trace::v1::span::Attributes::attribute_map (line 150) ... FAILED

failures:

---- /home/ver/b/l2-proxy/target/debug/build/opencensus-proto-052098f4f8ec2ee6/out/opencensus.proto.trace.v1.rs - trace::v1::span::Attributes::attribute_map (line 150) stdout ----
error: expected type, found `"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"`
 --> /home/ver/b/l2-proxy/target/debug/build/opencensus-proto-052098f4f8ec2ee6/out/opencensus.proto.trace.v1.rs:151:21
  |
3 | "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
  |                   - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type
  |                   |
  |                   tried to parse a type due to this

error: aborting due to previous error

Couldn't compile the test.

failures:
    /home/ver/b/l2-proxy/target/debug/build/opencensus-proto-052098f4f8ec2ee6/out/opencensus.proto.trace.v1.rs - trace::v1::span::Attributes::attribute_map (line 150)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

The generated code should disable doctest from attempting to compile comments originating from protobuf.

There should be a generator option on how to treat the comments from .proto: ignore, include verbatim as markdown, or try to sanitize as markdown-neutral text.


Redo damage system, Armor system

The attribute system works, but it's flawed. Attack Speed, Armor and Armor Toughness need to be reapplied as AttributeModifiers which is fine initially, but there's two fatal flaws:

Sweep attacks: Mobs in sweep range take full damage, because of how the DamageHandler calculates damage. Fixing this would be annoying and finicky.

Attack Cooldown: Attack Speed means nothing if the player inflicts the same amount of damage no matter what. Implementing a cooldown tracker for this system is indicative of huge flaws in the system itself.

SOLUTION: Switch to Capabilities. The Capability represents the spread of the damage across the 3 categories, not the actual amount of damage the weapon inflicts. Wooden Pickaxes, for example, could have a 50% spread between Piercing and Bludgeoning. It doesn't matter how much damage the Wooden Pickaxe does, half the damage will be inflicted as Piercing and the other half as Bludgeoning. The spread is a physical property of the tool itself, taking into account material and construction (read: tool type). Thus, having it modifiable by attributes makes no sense. This also takes care of how to apply potion effects, criticals and attribute modifiers, as any increase in damage is now spread out over the three damage categories according to the tool's damage type distribution.
Armor seems to work fine with attributes, but maybe it's better to switch it over to capabilities anyway?
There's also the question of how armor should be done in the first place. Should the regular armor system as we know it be applicable to this damage calculation or should reduction only be done by armor resistances provided by this mod? I think a distribution system similar to damage would work great but this may be a little trickier to get Minecraft to handle.

Here's an idea. Armor as a whole will be stripped of armor and armor toughness points. Any armor or armor toughness provided through external means (think: Iron Skin and Diamond Skin from PotionCore) behave as normal, but armor itself will only block (or increase!) what's specified in its resistances/weaknesses. Armors not listed in the config will keep their armor and armor toughness points, but provide no additional resistances. The new resistance system can have a 'toughness' property that behaves similarly to armor toughness, but this is by no means necessary.

There are some damage sources that aren't assigned a damage type by Distinct-Damage-Descriptions due to not being from an mob attack, item, or projectile, such as being in lava, standing on/in magma blocks, cactus, and sweet berry bushes, suffocating, and more. In vanilla, armor reduces damage taken from some of these sources (such as being in lava or cactus). With this mod installed, will armor still reduce damage taken from damage sources that aren't assigned a damage type?
Additionally, will all damage be treated the same when it comes to damaging the armor itself (in terms of durability), or will some damage types damage the armor more than others?

So the current plan (which has changed slightly from what was previously mentioned here) is as follows:
Cactus (and if a more modern version of the mod is made, sweet berry bushes) counts as piercing damage, and explosions may count as bludgeoning damage. Other damage sources that are normally blocked by armor in vanilla will continue to be blocked and handled the exact same way.
When it comes to damaging the armor, durability damage is done based on how much damage gets absorbed by each armor piece, per damage type (Basically an extension of Minecraft's way of doing it). So depending on how an attack is distributed, some damage types may end up reducing durability more than others. But there's no particular bias towards any damage type.
This is of course all subject to change. The biggest problem is that there are lots of ways to implement are more complicated/dynamic armor system, but no one "right" way. finding an armor system that serves this mod's needs best is trickier than I originally thought. The basic idea is that each armor piece should have strengths and weaknesses, and with ideal config setup, there shouldn't exist armor pieces that outclass every other armor piece in the game, undermining the whole system. What's the point of the player side combat changes this mod makes as a whole if full diamond armor still makes you almost invincible?

This was addressed in commits made yesterday, so I'm just going to close this


maxLines should be null able

FormBuilderTextField.maxLines should be nullable,
Because,

Input whose height grows from one line up to as many lines as needed for the text that was entered. If a height limit is imposed by its parent, it will scroll vertically when its height reaches that limit.
TextField(maxLines: null)

This bug exists and is tracked here #842. There have a discussion about this and possible solutions


[Feature Request] Heightmap compression with the tradeoff between precision and memory

Description
Heightmap compression sound useful for scaling regions if they are partially painted or with an acceptable loss of precision.
The video also shows a compression method that uses approximation of region subparts by storing them as slopes, which I find quite interesting.
Godot Compression Algorithm for Heightmap Terrain:
https://www.youtube.com/watch?v=5KkVftV-PTk

I'm unclear on the request. Is this request about saving disk space or memory/vram?
You sent a 15 minute video that mostly contains ideas for compressing data saved to disk. But one doesn't use disk compression algorithms for saving memory or vram.
@SlashScreen Already started an implemention of disk compression. What's the status of that?
https://github.com/SlashScreen/hcompress
The rest of this video talks about an idea of extracting a slope out of a mesh, that might be useful for saving memory/vram, but there's no implementation. Link an implementation or an algorithm if you want it to be considered. Don't send a long item like a video and vaguely say it's in there somewhere. Respect our time. Give a specific reference point or link that shows the detail of what you're discussing.

I moderated my tone a bit above. Thinking more about this, there's nothing in that video that is useful for memory savings, so this is only about disk space. I will rename the title as such.
We can't save more than 80-90 regions anyway, but once #374 is available, we'll be able to save 256 and eventually 2048. And disk space may be a growing issue. Godot already compresses resource files with Zstd, which is ok. We provide an option for lossy 16-bit saving as well. Another option can be useful.
We can explore the video creator's repository.
@SlashScreen Already started an implementation of improved disk compression. What's the status of that?
https://github.com/SlashScreen/hcompress

oh yeah, I stopped working on it since it became clear #374 was more important/would have made compression easier. I still don't know for sure that it's even helpful, anyway.


ERR! UNCAUGHT EXCEPTION on Windows CI with VS2019 and node-sass

Template

Node Version: node v12.16.1, npm 6.13.4

Platform:

OS Name:                   Microsoft Windows Server 2019 Datacenter
OS Version:                10.0.17763 N/A Build 17763
System Type:               x64-based PC

Compiler: VS2019, unsure of specific version.
Module: node-sass 4.13.1 (I think. yarn why node-gyp indicates that node-sass depends on it.)

Verbose output from yarn install --frozen-lockfile --verbose is attached instead of inlined because it's 23MB: gyp-error.txt

Symptom
During yarn install --frozen-lockfile --verbose, I'm seeing the following error (this is an excerpt from the full log above):
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:469:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR!  This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
Build failed with error code: 7
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Details
I'm using Azure Pipeline's windows-latest Windows Agent, which I believe is the same environment that's used for Github Actions.
One thing that catches my eye in the log is some ambiguity about which version of Visual Studio is detected / expected. I see find vs2017 picking up VS2019, and then gyp_main.py invoked with 'msvs_version=2015':
2020-04-05T02:33:25.4472128Z gyp verb find vs2017 Found installation at: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
2020-04-05T02:33:25.4472604Z gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.16299
2020-04-05T02:33:25.4472995Z gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.17134
2020-04-05T02:33:25.4473392Z gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.17763
2020-04-05T02:33:25.4473803Z gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.Windows10SDK.18362
2020-04-05T02:33:25.4474195Z gyp verb find vs2017   - Found Microsoft.VisualStudio.Component.VC.Tools.x86.x64
2020-04-05T02:33:25.4474566Z gyp verb find vs2017   - Found Microsoft.VisualStudio.VC.MSBuild.Base
2020-04-05T02:33:25.4474928Z gyp verb find vs2017   - Using this installation with Windows 10 SDK
2020-04-05T02:33:25.4475355Z gyp verb find vs2017 using installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
2020-04-05T02:33:25.4475751Z gyp verb build/config.gypi creating config file
2020-04-05T02:33:25.4476187Z gyp verb build/config.gypi writing out config file: D:\a\1\s\foobar\client\node_modules\node-sass\build\config.gypi
2020-04-05T02:33:25.4476738Z gyp verb config.gypi checking for gypi file: D:\a\1\s\foobar\client\node_modules\node-sass\config.gypi
2020-04-05T02:33:25.4477342Z gyp verb common.gypi checking for gypi file: D:\a\1\s\foobar\client\node_modules\node-sass\common.gypi
2020-04-05T02:33:25.4477879Z gyp verb gyp gyp format was not specified; forcing "msvs"
2020-04-05T02:33:25.4478229Z gyp info spawn C:\ProgramData\Chocolatey\bin\python2.EXE
2020-04-05T02:33:25.4478476Z gyp info spawn args [
2020-04-05T02:33:25.4478912Z gyp info spawn args   'D:\\a\\1\\s\\foobar\\client\\node_modules\\node-gyp\\gyp\\gyp_main.py',
2020-04-05T02:33:25.4479287Z gyp info spawn args   'binding.gyp',
2020-04-05T02:33:25.4479509Z gyp info spawn args   '-f',
2020-04-05T02:33:25.4479858Z gyp info spawn args   'msvs',
2020-04-05T02:33:25.4480181Z gyp info spawn args   '-G',
2020-04-05T02:33:25.4480415Z gyp info spawn args   'msvs_version=2015',
2020-04-05T02:33:25.4480645Z gyp info spawn args   '-I',
2020-04-05T02:33:25.4481015Z gyp info spawn args   'D:\\a\\1\\s\\foobar\\client\\node_modules\\node-sass\\build\\config.gypi',
2020-04-05T02:33:25.4481362Z gyp info spawn args   '-I',
2020-04-05T02:33:25.4481697Z gyp info spawn args   'D:\\a\\1\\s\\foobar\\client\\node_modules\\node-gyp\\addon.gypi',
2020-04-05T02:33:25.4482058Z gyp info spawn args   '-I',
2020-04-05T02:33:25.4482547Z gyp info spawn args   'C:\\Users\\VssAdministrator\\.node-gyp\\12.16.1\\include\\node\\common.gypi',
2020-04-05T02:33:25.4482927Z gyp info spawn args   '-Dlibrary=shared_library',
2020-04-05T02:33:25.4483200Z gyp info spawn args   '-Dvisibility=default',
2020-04-05T02:33:25.4483578Z gyp info spawn args   '-Dnode_root_dir=C:\\Users\\VssAdministrator\\.node-gyp\\12.16.1',
2020-04-05T02:33:25.4484114Z gyp info spawn args   '-Dnode_gyp_dir=D:\\a\\1\\s\\foobar\\client\\node_modules\\node-gyp',
2020-04-05T02:33:25.4484631Z gyp info spawn args   '-Dnode_lib_file=C:\\Users\\VssAdministrator\\.node-gyp\\12.16.1\\<(target_arch)\\node.lib',
2020-04-05T02:33:25.4485170Z gyp info spawn args   '-Dmodule_root_dir=D:\\a\\1\\s\\foobar\\client\\node_modules\\node-sass',
2020-04-05T02:33:25.4485547Z gyp info spawn args   '-Dnode_engine=v8',
2020-04-05T02:33:25.4485794Z gyp info spawn args   '--depth=.',
2020-04-05T02:33:25.4486047Z gyp info spawn args   '--no-parallel',
2020-04-05T02:33:25.4486301Z gyp info spawn args   '--generator-output',
2020-04-05T02:33:25.4486658Z gyp info spawn args   'D:\\a\\1\\s\\foobar\\client\\node_modules\\node-sass\\build',
2020-04-05T02:33:25.4487015Z gyp info spawn args   '-Goutput_dir=.'
2020-04-05T02:33:25.4487227Z gyp info spawn args ]

Potential workaround
From googling around, it looks VS2019 support arrived in node-gyp 5, but I'm on 3.8.0.
I've set a yarn resolution forcing<EMAIL_ADDRESS>and after a couple green builds I'm cautiously optimistic that I've resolved the issue.
Questions

Is this in fact the issue? (node-gyp v3.8.0 not supporting VS2019)
Is there a preferred way of working around this when node-gyp is a transitive dependency?
Can anything be done to make the old version of node-gyp fail in a more helpful manner? (I think this will hit anyone using the current version of node-sass on one of the biggest Windows CI hosts. It'd be great if they could get an error telling them what to do!)

I've set a yarn resolution forcing<EMAIL_ADDRESS>
Awesome.  It is right and proper to upgrade from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>for compatibility with both Python 3 and VS2019.
From https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md we can see that #1762 landed in v5.0.0.

https://github.com/nodejs/node-gyp/issues/1753#issuecomment-501827267  @jrr Can we close?

@cclauss before closing I'd like to explore making things better for those that follow.
Ideally, it'd be great if when you install an old version of node-gyp, it could print some kind of post-install warning about compiler compatibility. I'm not sure whether it's possible to add that to an already-published package without publishing a new version, though.
At minimum, perhaps we could put a bit compiler compatibility table at the top of the Readme?

Your review please on #2096

I ran into the same problem.

#2096 landed so I think this is good to close.


docker: generate Rails secret at first run if not configured

Currently, the default Docker builds leave the Rails secret as REPLACE_ME_NOW!. This is less than ideal. Since this is used to verify browser requests, we need to generate one on first run after docker run (and keep it the same for the lifetime of the container, that is, replace it in .env.example).
If the container is destroyed and re-created with docker run using the same backing storage, this will invalidate existing sessions and require logging in again -- which IMO seems like a good idea anyway.

Hi @tvierling,
you are right the default is not perfect, however it mimics the same behavior we have for un-configured installations of Huginn. I don't think we should reset the token when the container is started because that would invalidate the sessions every time the container is (re)started.
What do you think about adding a note in the READMEs of the Docker images which encourages the user to set the APP_SECRET_TOKEN environment variable?

In this change, generating of the token is specifically made to the .env.example, and only if not already set. So the only invalidation happens when the container is regenerated (docker run), not when it is restarted from stopped state (docker start). I felt that was a reasonable side effect for default behavior, because a rebuilt image is likely to have changed code, and invalidation of sessions would be reasonable in that case.
The user can still configure a static token, which will not be modified if it is configured. The script looks only for the presence of the REPLACE_ME_NOW value -- if that's not there, it's left alone. This is also why it only happens on first run of the container. If it's manually configured to the same value each time docker run is done, it will not invalidate sessions on rebuild.
So adding doc is fine, but the startup should really generate something in case the user didn't notice that doc line, or forgot -- or is using an image publicly released to a Docker repository from a common build -- to prevent user/session spoofing attacks.
I'm happy to add doc in addition to this change, but from a security standpoint, a change like this is still needed.

@dsander, I think guarding in the codebase against someone not changing APP_SECRET_TOKEN from the default is a good idea.

OK, the above re-push has been updated to address the two issues raised previously.

@tvierling Thanks!
@cantino If we add a guard against it in the code it would happen the session reset would happen on every restart - annoying but probably also worth the security gain. When it's done we can also remove guard in the docker initialization.

@dsander @cantino My rationale:
Using the startup script was to make a compromise, to avoid invalidating sessions on docker stop/start (e.g., host system reboot), while invalidating them on container rebuild. Doing this in the init script, or the equivalent in Ruby, persists the random token for the lifetime of the container, rather than kicking all sessions out just because the container restarted.

@tvierling That makes total sense. However if we want to protect all users from using the default secret token we need to do it in ruby as well. I think in practice it will not make a big difference for docker users. At least in my setup I almost never restart the container, when the configuration is changed or the container is updated to a newer image it will create a new one anyways.
Thanks!


enable_if gp_dot_prod_cov

Description
Previously, I implemented GP dot product kernel to take in a double, in an effort to deal with Stan's vector x[N], and vector[D] x[N] data types. When doing this, at the time I could only get both to compile while setting one of the input arguments as a double. This did not compile when running a Stan model
Example
For bug reports:
Any model that uses gp_dot_prod_cov.
Expected Output
Additional Information
I've fixed this locally with enable_if metaprogramming and will open up a PR with the fix shortly, as I've been using this version in my local command Stan.
Current Math Version
v2.18.0

So this is the signature we're talking about:
gp_dot_prod_cov(const std::vector<T_x> &x, const T_sigma &sigma)
Was it that the code wasn't working when the scalar type of the first and the second were both doubles or both vars?


Showcase NUnits LifeCycle.InstancePerTestCase to come around the wrapper

We state in our docs:

Since NUnit instantiates a test class only once for all tests inside it, we cannot simply inherit directly from TestContext as we want a fresh instance of TestContext for each test. Instead, we create a helper class, BunitTestContext, listed below, and use that to hook into NUnit's [SetUp] and [TearDown] methods, which run before and after each test.

The alternative approach is to add the LifeCycle.InstancePerTestCase attribute on the test-class or assembly so that inheriting from TestContext is absolutely fine.
Any thoughts on this one? It might be to much detail in the direction of NUnit.

Good idea.


mismatch between length of input and output

While working on streitberggothic I encountered following issue:
# mismatch in col len
import pandas as pd
from pysem.glosses import to_concepticon

PATH = "Streitberg-1910-3659.tsv"

def main():
    dfgot = pd.read_csv(PATH, sep="\t").fillna("")
    glosses = [{"gloss": str(g), "pos": str(p)}
                for g, p in zip(dfgot.sense, dfgot.pos)]

    print(len(glosses),
          len(to_concepticon(glosses, language="de", pos_ref="pos",
                             max_matches=1)))

if __name__ == "__main__":
    main()

prints: 3645 3274
So there are somehow less output matches than input provided.
I thought this might be valuable information for the developers, even though eventually I found a workaround, like so:
def main():
    dfgot = pd.read_csv(PATH, sep="\t")

    conid, conglo = [], []
    for g, p in zip(dfgot.sense, dfgot.pos):
        gloss = [{"gloss": g, "pos": p}]
        out = list(to_concepticon(gloss, language="de",
                                  pos_ref="pos", max_matches=1).values())[0]
        if out:
            conid.append(out[0][0])
            conglo.append(out[0][1])
        else:
            conid.append(None)
            conglo.append(None)

    dfgot["CONCEPTICON_ID"], dfgot["CONCEPTICON_GLOSS"] = conid, conglo
    del dfgot["form"]
    dfgot.to_csv("concepts.tsv", index=False, encoding="utf-8", sep="\t")

if __name__ == "__main__":
    main()

The problem is that the function expects a list of dicts, but returns a dict. We may discuss if this is the desired behavior. I recommend, however, to make sure to do a disambiguation or a collection of identical elicitation glosses before, as the algorithm will map them in the same way anyway.

So the recommended solution would be:
from collections import defaultdict
G = defaultdict(list)
for i, g, p in enumerate(zip(dfgot.sense, dfgot.pos)):
    G[g, p] += [i]
for g, p in G.items():
    to_concepticon ...

Ah okay, thanks, now it makes sense, so next time I should just disambiguate my word list as part of the preprocessing, or somehow make sure that there are no duplicate senses


Set starting index for 360 sequence

I don't see an option for this, but can we possibly set a starting index for the 360 sequence? So for example, if I want to start the sequence at the 10th image instead of the 1st, on the initial load of the widget.

@ascendedco  Brother Did You Solve this issue.??
@harpreetseera  Can you please update this library for index

@ascendedco Brother Did You Solve this issue.??
@harpreetseera Can you please update this library for index

See @harpreetseera response above. This is how I solved the issue way back 😄

Thank you this can be closed.

@harpreetseera  Thanks for the suggestion. But my problem is when I rotate image and the index of the image is 5th position and  I select different Image for example different color of Car Black or Blue. So on click new list the position should be  start from 5th  of previous list.


Obfuscate message.author.id from anonreport

its possible to find out who sent a message with the anonreport ticket id

It will always be possible, because somehow you need to know who to respond to. If you want to obfuscate more, go ahead. Security through obscurity is not security


Installation issue

When i import spotipy, i am told there is no module named client? What am i doing wrong?

Try with easy_install, had the same problem

same here:
(venv)lmele@P-LMELE:~/Projects/BestMusic$ python --version
Python 3.4.0
(venv)lmele@P-LMELE:~/Projects/BestMusic$ pip --version
pip 6.1.1 from /home/lmele/Projects/BestMusic/venv/local/lib/python3.4/site-packages (python 3.4)
(venv)lmele@P-LMELE:~/Projects/BestMusic$ pip freeze
beautifulsoup4==4.3.2
requests==2.6.0
spotipy==2.3.3

Has this ben resolved? Still having issues

also having issues with this.

If your install of Python refers to python3, try:
pip3 install spotipy


Phpcs

I had to suppress sniffs related to docblocks for now as it requires lot of manual work :slightly_smiling_face:.

THanks :tada:


mistake in dbkey???

Just saw it recently and I guess it's a mistake.

Doesn't look like one, this converts the rather intricately formatted value to a human readable JSON format.

Value before the change:

Value after:

¯_(ツ)_/¯

lolwot

Nop, no mistake. It should output as json so it is more readable if for example you have a map / sdict


fuzz - use the local crates for fuzz

otherwise, it uses the crate from crates.io

done here:
https://github.com/uutils/coreutils/pull/4484


Dark mode Scrollbar

Description
Edit custom Scrollbar for dark mode.
Screenshots
No response
Additional information
No response

@narayan954 I will work in this issue


[feature] Motor integration

The pinetime watch has a small motor to produce vibration. Let's imake it work !
The motor is plugged on the GPIO P0.16 of the NRF52. See image.

I guess simply driving low and high this GPIO would make it work.
We will need some kind of thread or timer if we want to make some special vibration pattern.
How should we integrate these patterns ? hardcoded ? or is there some way to generate them from a config file ?

[ ] Device Tree GPIO declaration
[ ] Vibrator Module
[ ] Vibrate on screen Tap ?

I've already experimented with this.

I guess simply driving low and high this GPIO would make it work.

That's right.
Here is vibrator.c that I had only saved locally:
/*
 * SPDX-License-Identifier: MPL-2.0
 */

#include <zephyr.h>
#include <stdbool.h>
#include <drivers/gpio.h>
#include <display.h>
#include "vibrator.h"
#include "log.h"

/* ********** ********** DEFINES ********** ********** ********** */
#define VIBRATOR        16
/* ********** **********  ********** ********** ********** */

/* ********** ********** VARIABLES AND STRUCTS ********** ********** */
static struct device* vibrator_dev;
/* ********** ********** ********** ********** ********** ********** */

/* ********** ********** FUNCTIONS ********** ********** */
void vibrator_init()
{
	vibrator_dev = device_get_binding("GPIO_0");
	gpio_pin_configure(vibrator_dev, VIBRATOR, GPIO_OUTPUT);
	LOG_DBG("Vibrator init: Done");
}

void vibrator_enable(bool enable) {
	gpio_pin_set_raw(vibrator_dev, VIBRATOR, enable ? 0 : 1);
}

How should we integrate these patterns ? hardcoded ? or is there some way to generate them from a config file ?

I think we should work iteratively. We could begin by trying out a few useful patterns such as alarm and notification (could be the same for low battery warning and incoming message) and make the patterns configurable afterwards. Adding port 16 to the Device Tree would also be great of course.


Add Rephrasy

Pull Request Template
Please ensure all items below are checked before creating a pull request:

[x] My changes were made in the resources folder, not in the auto-generated README.md file or db folder
[x] My submission is formatted according to the guidelines in the contributing guide
[x] My submission is ordered alphabetically based on the resource name
[x] My submission has a useful description
[x] I have searched the repository for any relevant issues or pull requests

Thank you for the contribution, but it's not a tool specifically for developers.

Thank you for the contribution, but it's not a tool specifically for developers.

Hi,
yes it is - a lot of people use it for their Writing tools.
Meaning the API we offer.


Initial Jupyter Notebook + Sphinx Documentation changes

Initial changes for incorporating jupyter notebooks into the RTD documentation.

Implemented!