Looking for help / maintainers (Please read)

It seems like there has been very low traction on this project @jaredpalmer
cc @maintainers-of-razzle (woops, pinged maintainers by accident)
There are many PRs with no comments from any of the maintainers, is there anything we can do to get this project back up and running?
EDIT:
I will start working on the PRs from oldest. If there is anything that is super urgent please just @ me to that PR / Issue and I will try to get to it in a timely manner

Uh oh...

No answer yet. Anyone up for forking to “dazzle” if another week goes by?

@fivethreeo that is the plan

@elliottjro any update on this?

I’m not actively working on Razzle at the moment. It’s not that I’ve moved onto other alternatives, it’s just that I’m not currently working on any SSR applications. It is thus a lower-priority project for me until 1) React’s new server renderer comes out and 2) webpack 5 drops. If folks want to step up and help out that would be rad. If you’re interested, send me a DM on Twitter.

React is getting a new server renderer? Where can I find out more about this?

@fifn2 here: https://twitter.com/jgcmarins/status/1200172819994357761

@jaredpalmer dmed you on twitter

@jaredpalmer please add me to contributors so I can start closing some of the issues.

I can also help

can we have a new release?

It would also help with managing issues by automatically closing stale ones.
Just need to change one line in the stalebot config.

I'd be able to help, we're revamping an old project at https://briovr.com/ with Razzle @elliottjro @jaredpalmer.

I'd be happy to help as well @jaredpalmer - I actually deprecated my cra-ssr boilerplate project in favor of suggesting people use Razzle. I'm a full-time OSS contributor and would be happy to merge some PR's and get this project running again. @elliottjro would you like some help?

@jaredpalmer sent you a message on twitter. I would also be happy to contribute.

me (@nimaa77) and @fivethreeo are working on this project.
if anyone is reading this and wants to participate just create a Pull Request and that's all

Fyi, been in hospital 1 and a half week. This project nearly ended abruptly, may abandon it due to health.

I'm so sorry to hear that! Will you be okay? Is there anything we can do to help you out?

Luckily I live in Norway with free healthcare and have a caring family, feeling better now but may need a drastic lifestyle change. Well wishes will do plenty :) Wrt razzle there is https://github.com/jaredpalmer/razzle/issues/1852 , I can lead razzle but if no one helps with design decisions, coding and docs razzle is sadly no more.

Hi!
How can I help you maintaining this project?
I think razzle is awesome, and I choose it again and again over Remix or Nextjs.
Thank you, for your work!

@revskill10 I wanna use state managers to manage business-logic and all of the application behaviour. Nextjs is trying to steal control over the things.
For example, I want to redirect user only from the business-logic (my model). But I need to use Nextjs-hooks instead, and nail my model to a React-component. It's awful

Hi! How can I help you maintaining this project? I think razzle is awesome, and I choose it again and again over Remix or Nextjs.
Thank you, for your work!

Me too, just use razzle, not nextjs or remix.

I started rewriting razzle in the alpha branch. But the types I made there are no good. If you want to help take the plugin ideas from pothos graphql and use that in the alpha branch. But I won’t be the sole dev doing this like before. Someone needs to get the ball rolling and I may join in.

@fivethreeo Please, set me as a reviewer. I need to figure out, I'm going to join development

the issue in @jaredpalmer controls this repo

What about moving it to an org? @jaredpalmer What do you think?

I asked @jaredpalmer for that before, was not interested in that, but can fork it and rename it

I’m not actively working on Razzle at the moment. It’s not that I’ve moved onto other alternatives, it’s just that I’m not currently working on any SSR applications. It is thus a lower-priority project for me until 1) React’s new server renderer comes out and 2) webpack 5 drops. If folks want to step up and help out that would be rad. If you’re interested, send me a DM on Twitter.

@jaredpalmer React 18 is out... Are you considering picking this repo back up? Or is it up to the OSS to fork/rename it and RIP this one?

https://github.com/elzzad/dazzle

https://github.com/elzzad/dazzle

@fivethreeo Is this React 18 compliant? I also noticed the Examples are missing although they are mentioned in the README.md

not much there at all yet

Join us on discord https://discord.gg/tK9ZgcwwKv


[bug]: generation time slower when launching invoke-ai from invoke.sh

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Linux
GPU vendor
AMD (ROCm)
GPU model
7900xt
GPU VRAM
20gb
Version number
4.0rc2
Browser
Latest firefox snap
Python dependencies
{
"accelerate": "0.27.2",
"compel": "2.0.2",
"cuda": null,
"diffusers": "0.26.3",
"numpy": "1.26.4",
"opencv": "<IP_ADDRESS>",
"onnx": "1.15.0",
"pillow": "10.2.0",
"python": "3.10.12",
"torch": "2.1.2+rocm6.0",
"torchvision": "0.16.1+rocm6.0",
"transformers": "4.38.2",
"xformers": null
}
What happened
I have been puzzled by this for quite some time. Sometimes I noticed  slower performance by invoke-ai. I could not identify the reason behind it. Today I have figured it out.
If I launch invoke-ai (3.7, but also 4.0rc2)  using invoke.sh image generation takes longer.  It's not the generation itself, but the start of the generation. It takes a good 10 seconds longer before the image generation to start. It just waits a bit longer before the generation starts when i launch through the script and it takes longer to present the image. The iterations per second are identical (2,9-ish)
                      Node   Calls   Seconds  VRAM Used
         sdxl_model_loader       1    0.000s     0.294G
        sdxl_compel_prompt       2    0.000s     0.294G
                     noise       1    0.001s     0.294G
           denoise_latents       1   23.333s     6.166G
             core_metadata       1    0.000s     4.882G
                       l2i       1    3.568s     4.882G

TOTAL GRAPH EXECUTION TIME:  26.903s
TOTAL GRAPH WALL TIME:  26.906s
RAM used by InvokeAI process: 8.94G (+0.025G)
RAM used to load models: 4.94G
VRAM in use: 0.294G
RAM cache statistics:
Model cache hits: 3
Model cache misses: 0
Models cached: 7
Models cleared from cache: 0
Cache high water mark: 6.46/7.50G
If I manually start invoke through: source .venv/bin/activate and then invokeai-web I have faster generation times, the generation just starts faster. I get the same number of iterations per second
                      Node   Calls   Seconds  VRAM Used
         sdxl_model_loader       1    0.000s     0.294G
        sdxl_compel_prompt       2    0.000s     0.294G
                     noise       1    0.001s     0.294G
           denoise_latents       1   14.335s     6.166G
             core_metadata       1    0.000s     4.882G
                       l2i       1    1.292s     4.882G

TOTAL GRAPH EXECUTION TIME:  15.629s
TOTAL GRAPH WALL TIME:  15.631s
RAM used by InvokeAI process: 9.61G (+0.587G)
RAM used to load models: 4.94G
VRAM in use: 0.294G
RAM cache statistics:
Model cache hits: 3
Model cache misses: 0
Models cached: 7
Models cleared from cache: 0
Cache high water mark: 6.46/7.50G
What you expected to happen
No difference in generation speed.
How to reproduce the problem
Launch invoke through invoke.sh, do two runs. Select the speed from the second run
Launch invoke manually, do two runs and select the speed from the second run.
I have also checked the PARAMS variable with a print in invoke.sh to see if it launches with additional parameters, but it seems not to be the case.
Additional context
I'm using rocm6 as a test, but the problem also persists with the default rocm. This was just a test by me to see if the rocm version had anything to do with it.
Generation settings:
Generation Mode:
sdxl_txt2img
Positive Prompt:
photo realistic, white marble statue of an angel, dark room, black marble walls, black marble floor, circle of candles around the statue, dimly lit
Negative Prompt:
blurry, anime, over-saturated, demon horns, nudity, cheery, happy, low quality, bad quality
Model:
juggernautXL_v9Rundiffusionphoto2 (SDXL)
Width:
1216
Height:
808
Seed:
2609746338
Steps:
40
Scheduler:
dpmpp_2m_k
CFG scale:
7
CFG Rescale Multiplier:
0
Discord username
adlermann_nl

Super weird, thanks for the detailed troubleshooting information.
Just to clarify, is it every generation is slower when using invoke.sh, or only the very first generation?

Every generation.

@Adlermannnl
I reviewed the invoke.sh script and it appears the only thing it does differently is set this suspicious environment variable:
# Avoid glibc memory fragmentation. See invokeai/backend/model_management/README.md for details.
export MALLOC_MMAP_THRESHOLD_=1048576

Could you try commenting out that line? Could be some unexpected interaction with your OS or hardware.

Some context for this setting.
The referenced note in the README:
On linux, it is recommended to run invokeai with the following env var:
`MALLOC_MMAP_THRESHOLD_=1048576`. For example: `MALLOC_MMAP_THRESHOLD_=1048576 invokeai --web`.
This helps to prevent memory fragmentation that can lead to memory accumulation over time. This
env var is set automatically when running via `invoke.sh`.

Some discussion on the PR that introduced the change: https://github.com/invoke-ai/InvokeAI/pull/4784#discussion_r1347652126
The standard library documentation provides detail:

M_MMAP_THRESHOLD
For allocations greater than or equal to the limit
specified (in bytes) by M_MMAP_THRESHOLD that can't be
satisfied from the free list, the memory-allocation
functions employ mmap(2) instead of increasing the program
break using sbrk(2).
Allocating memory using mmap(2) has the significant
advantage that the allocated memory blocks can always be
independently released back to the system. (By contrast,
the heap can be trimmed only if memory is freed at the top
end.) On the other hand, there are some disadvantages to
the use of mmap(2): deallocated space is not placed on the
free list for reuse by later allocations; memory may be
wasted because mmap(2) allocations must be page-aligned;
and the kernel must perform the expensive task of zeroing
out memory allocated via mmap(2). Balancing these factors
leads to a default setting of 128*1024 for the
M_MMAP_THRESHOLD parameter.
The lower limit for this parameter is 0. The upper limit
is DEFAULT_MMAP_THRESHOLD_MAX: 5121024 on 32-bit systems
or 410241024sizeof(long) on 64-bit systems.
Note: Nowadays, glibc uses a dynamic mmap threshold by
default. The initial value of the threshold is 128*1024,
but when blocks larger than the current threshold and less
than or equal to DEFAULT_MMAP_THRESHOLD_MAX are freed, the
threshold is adjusted upward to the size of the freed
block. When dynamic mmap thresholding is in effect, the
threshold for trimming the heap is also dynamically
adjusted to be twice the dynamic mmap threshold. Dynamic
adjustment of the mmap threshold is disabled if any of the
M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, or
M_MMAP_MAX parameters is set.

And from the glibc docs, a more digestable description:

Tunable: glibc.malloc.mmap_threshold
This tunable supersedes the MALLOC_MMAP_THRESHOLD_ environment variable and is identical in features.
When this tunable is set, all chunks larger than this value in bytes are allocated outside the normal heap, using the mmap system call. This way it is guaranteed that the memory for these chunks can be returned to the system on free. Note that requests smaller than this threshold might still be allocated via mmap.
If this tunable is not set, the default value is set to ‘131072’ bytes and the threshold is adjusted dynamically to suit the allocation patterns of the program. If the tunable is set, the dynamic adjustment is disabled and the value is set as static.

I just tested it, this is it. When i comment it out launching from invoke.sh is just as fast as manually launching invoke. I have not experienced memory accumulation problems as far as I remember.
I'm curious what the underlying issue is, if it's just a special case or more repeatable.

Ok, that's good to hear. We'll need to make this configurable. I'm also very curious about the underlying issue. To be honest, this is a bit outside my comfort zone, and I'm not sure what prompted this env var to be set.
Do you know if your system is using glibc, musl, or some other libc implementation? It could be a difference in behaviour.
If you're not sure, run ldd /bin/ls. You should see something like this:
❯ ldd /bin/ls
	linux-vdso.so.1 (0x00007fff9073a000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f7a60ce5000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7a60a00000)
	libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f7a60c4e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7a60d54000)

Look for the line that mentions libc, then copy and paste the full path and run that:
❯ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.6) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 11.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

Please paste the output of both commands here.

Paging @RyanJDick - I'm in a bit too deep here, can you help us understand what could be going on? I think we'll need to address the problem by adding an arg for it to the invoke.sh script.

linux-vdso.so.1 (0x00007ffc33f5d000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007266f3cf0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007266f3a00000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007266f3c59000)
/lib64/ld-linux-x86-64.so.2 (0x00007266f3d5f000)

GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.6) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 11.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

For completeness reasons I repeated these tests and recorded the generation time and memory consumption.
Methodology:
I generated 20 1024x1024 images using juggernautXLv9 using the queue. I used the above cases of threshold settings:
0, default setting which is dynamic, the setting of 1049578 from invoke.sh
I will disregard the first image of the batch, since that one is always the slowest and has a large variation every time.
Results
Case 1 value 0
Maximum memory usage of invokeai-web is about 9.1GB. Memory usage increases a bit in the first few runs to this number.

Case 2: use the default settings, which according to the documentation is mostly dynamic.
Maximum memory usage of invokeai-web is 8.6GB, memory usage starts a bit lower but after 2-3 images it holds around this value.

Case 3: invoke.sh setting of 1048576
invokeai-web uses a maximum of 7.7 gb of memory, but it is very much dynamic. Memory consumption is dynamic during a run and between runs.  After the last image, invokeai-web still uses 7.7 GB.

I can give a little more context on why this setting was originally added. There's a decent explanation here: https://github.com/invoke-ai/InvokeAI/pull/4784/files#diff-aaa1044287f4abfd0e20c07530ec1d9f226e6b6eed7bdf31a51a6253fdbd5029R3 (not sure if you guys saw this already).
The TL;DR is that if someone has a bunch of models that they are switching between, memory usage will gradually accumulate until an OOM error.
There could be differences in behavior depending on the OS and libc implementation. I don't remember seeing a performance impact on linux with glibc, but I'll double check and post results here shortly.
By the sound of things, this should definitely configurable, we just need to do a bit more testing to figure out what the recommendations should be.

The delay when I use invoke.sh is only when I hit Invoke, then it takes longer to present the latent noise, and at the end it takes longer to present the final image. Generation itself (in iterations per second) is similar in all conditions. Using invoke.sh I see crazy memory usage fluctuations.  Is there a way to record/visualize the actual memory operations of invokeai on the heap? I assume that the delay I experience is just the tree (heap) traversal to release the memory (zeroing); the documentation of mmap does hint that there are performance penalties when setting  MALLOC_MMAP_THRESHOLD very high.
I do have some time next week/ next few days. We could devise a few test cases and try to determine what happens when in which condition to make a better informed decision?  Usually I have memory cache at 8 GB (out of my 32GB RAM). I use Ubuntu 22.04 LTS. I use a Ryzen 5600 on a x470 board, with a 7900XT AMDGPU. Samsung 980 PRO NVMe 2TB SSD. All drivers are up2date.
I just did some testing with model cache on 16GB, and yes there seems to be a very slow memory creep. I start to notice it after 6-7 model changes. I generate 5 images per model, change the model (sdxl variants) and there is a slow upwards trend of a few hundred megabytes. But on my system, if I have run out of memory I think I would have to change a lot models for hours to achieve this. This is one of the situations we (and that is a decade ago when I worked in practice) would write automated test cases for and let it run for hours on end.

Thanks for digging in. I've created #6047 to make this configurable via arg to invoke.sh.
I'll defer to you two for determining the best default value for this setting. Maybe it's reasonable to leave the default as it is now?

I wanted to test this today, but ended up getting derailed by this performance issue: https://github.com/invoke-ai/InvokeAI/pull/6052.
From some preliminary tests, I'm not seeing any slowdown on my system with MALLOC_MMAP_THRESHOLD_=1048576. I'll do some more rigorous testing tomorrow.

I did some more testing this morning. The issue is definitely less evident on my system, but I can see a measurable difference when I reduce my VRAM cache size to force more model copying.
Setup:

Ubuntu 22.04
glibc 2.35-0ubuntu3.1
SDXL, 1024x1024, Euler, 20 steps

Configuration
First Generation
Second Generation

vram: 8.0
6.8s
4.0s

vram 8.0, MALLOC_MMAP_THRESHOLD_=1048576
6.8s
4.2s

vram: 4.0
8.6s
5.0s

vram 4.0, MALLOC_MMAP_THRESHOLD_=1048576
9.0s
6.1s

Looking back at when this was originally introduced, I don't think the problem was ever reported by someone running the OSS app on a local workstation. It was mainly intended to address an issue in the hosted version of the app, where we run many models and can see 10s of GBs of memory accumulation caused by fragmentation.
Here is what I propose:

Remove all MALLOC_MMAP_THRESHOLD_ overrides.
Add a note to the docs to explain how to set it manually if anyone is encountering this issue.
I'm not sure if it's necessary to support it as a flag on invoke.sh (as proposed in https://github.com/invoke-ai/InvokeAI/pull/6047) - I suspect that very few people will actually want to use it.

@psychedelicious @Adlermannnl Let me know what you think.

I left the vram cache at the default settings, or pretty low, since the installer mentions something in the line of 'reserving a little vram'.
That might explain the difference:
  Model Cache:     ram: 16.0     vram: 0.25     lazy_offload: true     log_memory_usage: false
Taking a requirements engineering perspective: having different settings for the hosted version and the community  version is perfectly acceptable, since they have different usage scenarios. Removing all MALLOC_MMAP overrides for the community edition might be the best default setting. I suspect most people also follow the installation defaults of model cache size.
Regarding the way to override is open for discussion and best placed in a particular scenario, which kind of user of the community edition would experience such extreme fragmentation? I don't know if it is allowed to host the community edition and have multiple users (I don't even know if this is possible). But such a user would be capable of reading the docs and setting environmental variables.
I don't see a normal user running out of memory because of the fragmentation issue where there is a single user running on a single instance of invoke. I think it would require extreme model swapping for an extreme prolonged period of time (or extremely low on ram/swap?). But these would be edge cases. Either option is fine by me, passing a parameter is little more user friendly though.
The most important thing is that this issue gets clearly documented, and a best default setting is chosen.

Removing the var from the launcher script and clearly documenting it sounds good to me. I'll make a new PR to do that.


Rapid test result with longer validity (8 days)

I understood that the display of rapid test results should help showing the test results at border crossing.
For commuters to Austria the rapid test results are valid for 7 days according to §6a of the Austrian "COVID-19-Einreiseverordnung".
If CWA shows them only for 48 h it doesn't help the people who are crossing borders on daily basis.
Would you please extent it to be valid for 8 days?

Internal Tracking-ID: EXPOSUREAPP-7982

https://www.coronawarn.app/en/faq/#rat_how_long_valid does say:
"After 48 hours, your rapid test result will automatically be removed. You can then take another rapid test and register it in the app."
Perhaps the enhancement request could be to make removal of the record of a Rapid Antigen Test optional instead of forced automatic? That would be more flexible for special cases like commuters crossing the border between Germany and Austria.

There should be a warning, that this rapid test isn't valid (in Germany), the border control of Austria knows, that they can ignore the warning. Else there will be confusion, people thinking it's valid in Germany, ... A info text sadly won't work, since people won't read it.

I like this suggestion to add a configurable option.
It allows users to adapt cwa better to their specific needs and use cases.

The situation here has changed since you can request a digital COVID test certificate for your tests now (if the testing site supports this) and this certificate will stay in your app even after more than 48 hours. You have to delete it manually.

@Th-St see comment above from @Ein-Tim. Does this solve your issue and we can consider this as being solved? Thanks. Best, DS

Corona-Warn-App Open Source Team

Thank you, CWA team, for the App and the open development allowing the users to get involved!

@Th-St Thanks for the feedback!

A Twitter user told me that there are still many testing sites out there which don't support the creation of DCCs and thus he says he still has this problem.
Maybe this should be reevaluated @dsarkar?
Looking at https://map.schnelltestportal.de I can confirm what the user says, there are many testing sites which don't support DCCs.

@Th-St @Ein-Tim The use case is Austria? Are there more use cases?

@dsarkar
Quote: "An der Arbeit darf ein Test länger als 48h alt sein, beim Grenzpendeln auch. Das würde mir spontan einfallen"

@Ein-Tim OK. We will forward this to TSI: This is something the test providers have to implement. Thanks.

@dsarkar
I don't understand, why do the test centers have to implement that rapid antigen test results are shown for more than 48h in the Corona-Warn-App? Wouldn't it be possible to just show the test result from a rapid antigen without limit? Similar to what's already implemented for PCR test.


Add parameter constraints to Param annotation

At the moment the Param annotation only allows for mandatory constraints. More complex constraints must be done by implementing Checkable.
Replace mandatory with constraints that accepts an instance of a ParamConstraint interface.

This would add to much complexity to the parameter declaration and specification.
If parameter checking is necessary:

make the module class implement fr.inra.maiage.bibliome.util.Checkable,
override the method check(Logger).

This method can access all parameters. It should log warning and errors, then return a boolean (true if everything is correct).
At the parameter checking stage, AlvisNLP calls this method for all modules that implement Checkable. Note that AlvisNLP also calls this method on parameter of a type that implements Checkable.


Add subcategories to example pull down

This issue was moved to electric-cloud-community/EC-DSLIDE#18


Create Mendacity.json

The Pull Request resolves Issue #[Issue-Number]
Description:
A brief description about the addition or edits made.
Notes: Delete all the text including this!

The #[Issue-Number] should be replaced with the specific Issue being referenced.

create mendacity.json


Initial Push for Core Boostrap 4 Components

This issue is to keep track of our over all work and progress towards providing angular 2 components for the core bootstrap 4 javascript components.

[x] Accordion #17 (@foxandxss)
[ ] Affix #13
[ ] Alert #2
[ ] Buttons #14 (@wesleycho)
[ ] Carousel #12
[x] Collapse #11
[x] Dropdown #4 (@wesleycho)
[ ] Modal #3
[x] Pagination #22
[ ] Popover #9
[ ] Progressbar #25
[x] Rating #26 (@foxandxss)
[ ] ScrollSpy #5
[ ] Tab #7
[ ] Tooltip #8

I wanna contribute guys. If I lock myself up, really work on my angular 2, go through all your code to learn your coding standards, will you be patient & merciful on my first PR?

Feel free to discuss stuff you want to work before you try any PR so you don't waste your time.
The problem we have right now is that we are waiting for angular core team to make some movements, we are discussing lot of patterns to implement certain things... All of this makes a bit harder the external collaboration.
Also, don't trust our actual code as the best way to do X because we are still iterating some patterns. For example, accordion is completely broken and needs to change quite a bit.
All being said, welcome and feel free to comment on the issues / pr we have open :)

Thanks @Foxandxss, muy bueno tu blog! I'll make sure to pitch in if I can.

So, we've got initial / basic implementation of all the core components except of: buttons, carousel, tooltip/popovers, modal, scroll-spy.
Work started on all the mentioned components and the status is:

buttons: blocked on ng2 forms API change
carousel: blocked on RC.2 release that has required fixes
tooltip/popovers: in progress, no blockers
modal: in progress, no blockers
scroll-spy: we've got a PR, needs review, potentially design

All the animation work is blocked on rc.2 release.

Update: buttons just landed via 44adfd7d53367f6ff48f9046ee448912662f35d4

Update: carousel just landed via 2dc5228972e013450552b11013d362f08eeeefb9

Update: tooltips just landed via e768a548a68db1a6662cad2cac36886f21f9ea5c

Update: popovers just landed via 91ba7898d28ec8b461bd10489746bc9c9a9e253e

Update: initial version of timepicker just landed via 6fcaea568e64c713f7607b4d846c52218362029d and f4388994bcf90d69e0356077b81164189ffd92bd.

Update: typeahead just landed via 0fc6c000dcaccdf2eeb341dbec32a35bd54c04c3

Update: modal just landed via 3ef99c5e82357e4f72a58b3db79136ee883a9e33 and will be part of alpha.3.
Datepicker schould land this week and will be part of alpha.4.

Update: datepicker just landed via 9e8c5c00f4c9cd65dc13a934642806b892da6688

With datepicker landing the only remaining missing directive is scrollspy and we've got already an issue to track it. As such we can close this catch-all issue now.
It was a long ride but we are close to be feature-complete now!


Considering the database scheme design - ActiveState part

Thanks to @jannikluhn for discussing it with me.

I was thinking about how to implement and test the fork choice rule in the Python PoC codebase, hmm, it would be nicer if we have a database to rebuild/rollback the state instead of just having some dicts.  😬
The first thing occurred to me is AttestationRecord; the story I think is:

The attesters create AttestationRecords and then broadcast them.
The proposer collects the  AttestationRecord messages, creates a block, and broadcasts the Block.
Other nodes receive the Block, apply the state transition, and update local ActiveState. (Maybe also CrystallizedState, up to the slot number and other conditions in the spec)

post_active_state.pending_attestations = prev_active_state.pending_attestations + block.attestations

1 - How to store AttestationRecord and ActiveState?
It makes sense to change active_state.pending_attestations: [AttestationRecord] to active_state.pending_attestation_hashes: [Hash32] if the AttestationRecord have already been stored in the local DB.

↑ It affects how we serialize ActiveState and how we generate active_state_root.

2 - How to store Block?
For the DB storage design, we can consider treating the AttestationRecord like the PoW main chain Transaction for avoiding double-storing from both Block and ActiveState. That said, the Block consists of BlockHeader and Attestations (i.e., BlockBody). There are those k-v pairs:

attestation_hash -> AttestationRecord
LOOKUP_BLOCK_HEADER_<block_hash> -> BlockHeader: the current block + potential proposer sig + attestation_root - attestations field
LOOKUP_ATTESTATION_HASHES_<block_hash> -> [Hash32]: get the attestation_hash by block_hash
active_state_root -> new ActiveState (active_state.pending_attestation_hashes: [Hash32]). When in the crystallized state transition that needs pending_attestations to updated crosslinks, just query the AttestationRecord from the local DB.

↑ The clients can implement DB scheme in various ways, it doesn't need protocol changes; but, maybe we can optimize some structure in protocol to make great improvement?

BlockHeader is not a perfect name here...

Haven’t dug into CrystallizedState yet.

Working on this in https://github.com/prysmaticlabs/prysm/pull/440 at Prysm

So just to recap, we're not storing active state details because they can be computed from blocks anyways. Since the crystallized state transition only occurs on each new cycle and involves more computation than determining an active state, I don't think it's a big problem to persist most of it. At the very least, should we be persisting the validator set with a lookup key?

I'm leaning towards limiting dependencies in this poc repo and not going in the direction of bringing in a db if possible. Instead just having clear data structures and pure functions.
That said, if the forkchoice becomes to messy to implement, I could be convinced, but would maybe rather just start working on a fork of pyevm

We could copy the db interface from PyEVM and just use their MemoryDB. Then we would not have any additional dependencies and integrating it at some point with PyEVM or switching to a proper db would be more or less trivial.

@rauljordan
Ah, I saw your point, AcitveState is not hard to be rebuilt by CrystallizedState and Blocks. (I thought PryLabs stores ActiveState when I read this line two days ago: https://github.com/prysmaticlabs/prysm/blob/366e5168ba03832a6b423d300524b76268af8242/beacon-chain/blockchain/core.go#L168, but you only stored the head ActiveState, and will change to only in-memory?)

EthereumJ stores all data structures in key/value DB. It has an interface that abstracts storage from specific KV engines. For instance, RocksDB is used to store real data on disk. But in tests EthJ uses in-memory DB which implementation is pretty similar to MemoryDB.
I agree and support @jannikluhn https://github.com/ethereum/beacon_chain/issues/81#issuecomment-417226082: some abstract interface + in-memory DB is a good thing to start from.
Schema. This is a database schema definition that EthereumJ has so far: https://github.com/ethereum/ethereumj/blob/research/sharding/ethereumj-core/src/main/java/org/ethereum/sharding/config/BeaconConfig.java#L149-L204.
Keys. This is either a hash of encoded object or some index, it depends on the way the data are accessed. Sometimes, e.g. for blocks, there should be an opportunity to access data by both hash and index, depending on the case. It's achieving by introducing another one kv-storage that maps object index on object hash: [index: hash] + [hash: object].
Encoding. EthereumJ uses RLP. But it can be easily replaced with any other encoder when we will be agree on some.
Tries. Each trie is backed by own kv-storage that is a source of trie nodes: [node_hash: node].
P.S. the above came from eth1.0 and works well for the beacon chain and shards.

Do you guys think there's any value for saving CrosslinkRecord in to the local DB? 🤔

prysmatic labs has implemented saving attestation and attestationHashes to local DB in this PR. Feel free to check it out
https://github.com/prysmaticlabs/prysm/pull/472

Hey, I have a few questions about this suggestion!

The attesters create AttestationRecords and then broadcast them.
The proposer collects the AttestationRecord messages, creates a block, and broadcasts the Block.

Is there an intermediate step here, where some entity (possibly the proposer) collects individual attestations and bundles them into the aggregated attestations, aka AttestationRecord?

if the AttestationRecord have already been stored in the local DB.

Will this necessarily be true? If proposers are responsible for aggregating attestations and including them in the block, a node that's processing the block won't have those attestations in the DB.
Finally, is this motivation for this proposed schema change to save on storage space, specifically to avoid duplication of AttestationRecord in the block and the active state?
In general, I'm wondering if the difference between this schema and the naive schema (where attestations are duplicated in the block and active state), is about trade-offs in storage size and lookup time. What I mean is that your schema would prevent duplication of AttestationRecord in the block and active state, but with the additional cost where scanning the attestations in a block or active state will cost N+1 lookups, where N is the # of attestations.
The attestation hash itself doesn't seem useful. When looking for duplicate attestations, the hash isn't sufficient because 2 attestations with the same slot and shard but different oblique_parent_hashes are still a duplicate, and 2 attestations with the same slot, shard, oblique_parent_hashes but overlapping yet different attester_bitfield values have to be handled somehow too. Correct me if I'm wrong here!
The naive schema would allow the attestation to be stored within the block/active state, and would only require one lookup. Of course this requires extra storage space in the database since the entirety of the attestation is stored in both the block and the active state.
I'm still a little confused about the distinction between the individual attestations that are signed by attesters, and the aggregated attestations that are included in blocks. From my understanding, it makes sense to store the individual attestations by its hash! But this suggestion seems to be about storing the aggregated attestations by its hash, which I'm having a hard time finding a strong justification for.
Thanks!

Feedback appreciated! I'm so sorry for that I missed @terenc3t and @rawfalafe’s tag in https://github.com/prysmaticlabs/prysm/pull/472!!!

Is there an intermediate step here, where some entity (possibly the proposer) collects individual attestations and bundles them into the aggregated attestations, aka AttestationRecord?

By AttestationRecord here do you mean the in wire protocol format? I think it’s possible, maybe should be named it AttestationRecords in wire protocol, and it could be >=1 attestation(s).

Will this necessarily be true? If proposers are responsible for aggregating attestations and including them in the block, a node that's processing the block won't have those attestations in the DB.
oblique_parent_hashes

Agree with the significant flaw of the scheme you mentioned! There may be a dirty method by using attestation sig replace with “attestation hash” as the query key and only having  oblique_parent_hashes in Block, but it's still bad since the I/O overhead of re-wrapping block is TOO HUGE as you mentioned, especially while syncing nodes. Treating attestations like transaction pool probably will be a better way to handle the attestations. What do you think about that?

Finally, is this motivation for this proposed schema change to save on storage space, specifically to avoid duplication of AttestationRecord in the block and the active state?

Yes, if as PryLabs’ suggestion, just keeping the ActiveState in memory, then storing attestations separately is meaningless. The possibility of recalculating ActiveState depends on the forking rate, but it should be fine if comparing it to the query times of re-wrapping a block.
Thank you for looking into this!

individual attestation

Got it. Yes, another data class + name makes sense.

Hmm are you talking about a pool for individual attestations or aggregated attestations? I think a pool for individual attestations make sense.

Yes, for the individual attestations.

One simple suggestion is to sort block.attestations and active_state.pending_attestations by slot and shard_id. This way we can do a binary search instead of a scan when searching for existing attestations.

The current spec says: Extend the list of AttestationRecord objects in the active_state, ordering the new additions in the same order as they came in the block. (Should be pending_attestations) And it's natually the order of making cross-link updated crosslinks: https://github.com/ethereum/beacon_chain/blob/dddee7781386b1c553ea72ad556af4bde09b10c7/beacon_chain/state/state_transition.py#L195
Do you have an idea of what's the use case that we have to search for existing attestations except for a blockchain explorer?
Thanks!

Do you have an idea of what's the use case that we have to search for existing attestations except for a blockchain explorer?

Say the beacon chain processes slot N which contains attestation X. Next, the beacon chain attempts to process slot N+1 which contains the exact same attestation X. Should the beacon chain detect that there's a duplicate attestation?
As another example, what if slot N+1 contains an attestation that similar to attestation X except a different value for shard_block_hash. Should that trigger a slashing condition?
If those two scenarios need to be considered, attestations can be queried more quickly if block.attestations and activeState.pending_attestations were ordered by slot and shard.

@rawfalafel
Talked with V and Danny, recapping from Danny a little: the current spec doesn't prevent the proposer from accepting and including redundant (partial or full overlaps) across from different blocks of the same chain. It may happen but the proposer won't get the reward from including redundant attestation. (← it's not defined in the spec yet.) And in the state transition, we don't double count for FFG or rewards, so there is no incentive for the proposer to include full overlaps attestations. But we probably can prevent it with other mechanisms like a two-stage protocol that worthy to think about more. Right now we think ordering the attestations for binary search is too complicated for this purpose.

deactivate this discussion


Empty video file in Google Cloud version of the dataset AND Google link not working anymore

Hi, I have downloaded the Google Cloud version of the dataset and I have extracted it. I was playing with it when I noticed one of the videos<PHONE_NUMBER>.mp4 in the train folder) is 0 bytes long. I tried to perform the extraction process again, but I still get 0 bytes for this and only this specific file. I think maybe there was an issue while creating the .tar.gz archive?

I wanted to try to download again the file from the Google link and it doesn't work anymore. It gives me a permission error: "Anonymous caller does not have storage.objects.get access to clipshots/data.tar.gz."

I have just found out that that video was probably already bugged from the beginning. In the annotations/train.json that file is shown to have frame_num = 0.

Some videos may be corrupted. Sorry I didn't filter that.

+1 To the Google Cloud link being broken. Following the link gives an error of "Anonymous caller does not have storage.objects.get access to clipshots/data.tar.gz."

Hello. I also can not download the videos. The Google Cloud link is broken with the error message "Anonymous caller does not have storage.objects.get access to clipshots/data.tar.gz.".
There is an issue with the reading permission on this object. Can you fix it please? I would be in your debt forever... please please please

Hi @Tangshitao. Would it be possible to fix the google link for the dataset? It's tough to download from baidu and I'd really appreciate if you would consider this. Thanks a lot in advance!

Hello @Tangshitao. The google cloud link is still broken and downloading from baidu is really tricky in Europe. Could you have a look at it? Many thanks.

I am trying to fix the link, but the uploading speed to google drive is too slow. Any suggestions?

3 days to download the videos in my place and it also takes more days to upload.

Sorry, I don't know much about free cloud storage. Maybe you can provide the video's URL with the segment annotations, similarly to what the Kinetics datasets do?

https://drive.google.com/file/d/1Z9iTwKT07gFWLp3GTltsB71MESugguza/view?usp=sharing

Hi @Tangshitao.
While trying to download and extract the ClipShots-a (.tar.gz) file from the Google Drive link specified in the README, I encountered the following errors and was unable to unzip the file:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Despite multiple attempts at re-downloading, the issue persists, leading me to believe that the file might be corrupted. Furthermore, an alternative link provided above is now inactive and inaccessible.
Could I kindly request that you verify and re-upload an uncorrupted version of the dataset or fix the link?
Thanks a lot in advance!

Hi @keitokudo,
On a linux box do:
cat clip-a clip-b clip-c > clipshots.tar.gz

Once this is done, you can:
tar xzvf clipshots.tar.gz

Hi @fredericoliveira ,
Thank you for your advice!  counld successfully unzip the file!


Remove the legacy 'maven' plugin

Context
This pull request removes the legacy "maven" plugin in favor of the "maven-publish" plugin, aka Grapocalypse part 2.
There are examples which are now harder to do, we should consider making those easier (see #15606 ).

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Remove list-style on summary

summary has list style that needs to be removed.

https://codepen.io/idesmar/pen/JjvyJRa?editors=1000

Added patch for new version 1.8.1
/* remove default dot (•) sign */
::marker {
    content: "";
}


fix python path in doc

@thfabian Can you try if this still works for you?

It still works for me. You can merge this


Auto save native editor notebook

For #7693

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[x] Appropriate comments and documentation strings in the code
[x] Has sufficient logging.
[n/a] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated
[n/a] Test plan is updated as appropriate
[n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[n/a] The wiki is updated with any design decisions/details.

Codecov Report

Merging #7831 into master will decrease coverage by 0.38%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master    #7831      +/-   ##
==========================================
- Coverage   59.25%   58.86%   -0.39%
==========================================
  Files         498      498
  Lines       22295    22299       +4
  Branches     3580     3575       -5
==========================================
- Hits        13210    13127      -83
- Misses       8263     8341      +78
- Partials      822      831       +9

Impacted Files
Coverage Δ

src/client/common/application/types.ts
100% <ø> (ø)
:arrow_up:

src/client/datascience/types.ts
100% <ø> (ø)
:arrow_up:

src/client/datascience/webViewHost.ts
11% <0%> (-0.11%)
:arrow_down:

...ience/interactive-common/interactiveWindowTypes.ts
100% <100%> (ø)
:arrow_up:

src/client/common/application/applicationShell.ts
15% <50%> (-0.79%)
:arrow_down:

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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

@rchiodo Please re-review when possible.


AttributeError: module 'jax' has no attribute 'Device'

I'm having the error message AttributeError: module 'jax' has no attribute 'Device' while loading the package.

import numpy as np
import scanpy as sc
import scvi

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 3
      1 import numpy as np
      2 import scanpy as sc
----> 3 import scvi

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/scvi/__init__.py:10
      7 from ._settings import settings
      9 # this import needs to come after prior imports to prevent circular import
---> 10 from . import autotune, data, model, external, utils
     12 from importlib.metadata import version
     14 package_name = "scvi-tools"

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/scvi/autotune/__init__.py:1
----> 1 from ._manager import TuneAnalysis, TunerManager
      2 from ._tuner import ModelTuner
      3 from ._types import Tunable, TunableMixin

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/scvi/autotune/_manager.py:10
      7 from typing import Any, Callable, List, Optional, Tuple
      9 import rich
---> 10 from chex import dataclass
     12 try:
     13     import ray

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/chex/__init__.py:17
      1 # Copyright 2020 DeepMind Technologies Limited. All Rights Reserved.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     13 # limitations under the License.
     14 # ==============================================================================
     15 """Chex: Testing made fun, in JAX!"""
---> 17 from chex._src.asserts import assert_axis_dimension
     18 from chex._src.asserts import assert_axis_dimension_comparator
     19 from chex._src.asserts import assert_axis_dimension_gt

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/chex/_src/asserts.py:26
     23 import unittest
     24 from unittest import mock
---> 26 from chex._src import asserts_internal as _ai
     27 from chex._src import pytypes
     28 import jax

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/chex/_src/asserts_internal.py:34
     31 from typing import Any, Sequence, Union, Callable, List, Optional, Set, Tuple, Type
     33 from absl import logging
---> 34 from chex._src import pytypes
     35 import jax
     36 from jax.experimental import checkify

File /opt/conda/envs/scvi-env/lib/python3.8/site-packages/chex/_src/pytypes.py:56
     54 PRNGKey = jax.random.KeyArray
     55 PyTreeDef = jax.tree_util.PyTreeDef
---> 56 Device = jax.Device
     57 ArrayDType = type(jnp.float32)

AttributeError: module 'jax' has no attribute 'Device'

Versions:

scvi-tools                0.20.3

can you pip install --update jax jaxlib chex?

Thank you very much. The error is gone.
Minor thing, the update didn't work with --update but worked with -U :)


Add notifications and subscriptions commmands

Implements #50.
Signed-off-by: Nikolay Stanchev<EMAIL_ADDRESS>

Looks good!


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.10.94 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ChoiceField, ChoiceFieldGroup updates

Following aria guidelines. ChoiceField send custom events to
choiceFieldGroup for radio selection.

This is great! So nice to remove the hidden inputs and CSS trickery.
Let's talk about renaming these components to 'CheckBox' and either 'ChoiceGroup' or 'RadioButtonGroup'. That would make the difference and usage clearer, and match another project where we're doing the same. 😄


Renamed components DRect -> DiffRect and RRect -> RoundRect

Allthought the API needs to be aligned with the CanvasKit API (using names like rrect and drect), we should be more free to align the components in the reconciler with how React names its components.
This PR renames the DRect and RRect components to DiffRect and RoundRect.

Renamed components
Renamed in documentation
Renamed DRect.tsx file

Closes #85

Change RoundRect -> RoundedRect


Add style inheritance for text style attributes

Attributes which affect text styles (color, font size, etc.) should be inherited from the parent element.

Turns out this is really hard to do efficiently.


Codecov Report

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

@@           Coverage Diff            @@
##           master    #4187    +/-   ##
========================================
  Coverage   60.68%   60.68%
========================================
  Files         327      327
  Lines       14367    14367
  Branches     2699     2861   +162
========================================
  Hits         8719     8719
+ Misses       5232     5212    -20
- Partials      416      436    +20

Impacted Files
Coverage Δ

packages/amplify-util-mock/src/api/api.ts
0.00% <0.00%> (ø)

packages/graphql-mapping-template/src/print.ts
35.71% <0.00%> (ø)

packages/amplify-util-mock/src/storage/storage.ts
0.00% <0.00%> (ø)

...ges/amplify-util-mock/src/CFNParser/stack/index.ts
88.09% <0.00%> (ø)

...ges/graphql-transformer-core/src/util/fileUtils.ts
11.76% <0.00%> (ø)

...es/amplify-util-mock/src/api/resolver-overrides.ts
0.00% <0.00%> (ø)

...es/graphql-transformer-core/src/stripDirectives.ts
35.29% <0.00%> (ø)

.../amplify-util-mock/src/utils/lambda/loadMinimal.ts
0.00% <0.00%> (ø)

...graphql-transformer-core/src/TransformerContext.ts
26.20% <0.00%> (ø)

...mplify-appsync-simulator/src/resolvers/function.ts
9.67% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


Incorrect keycaptures

Description
Some keybinding seem to be not working with neovide and some have wrong effects.
Problems:

Switching between panes in xmonad inputs text to neovide (when switching back to neovide pane whilst in insert mode). Text entered: <D-2><D-1>. The switching is done with Super+nr so I supposed neovide captures these key presses whilst terminal does not. <D-2> is switching to pane 2 and  is switching back to pane where neovide is eg pane 1.
Ctrl+Shift+V paste from system keyboard seems to be not working. It only enters ^ or V (it cycles between them eg pressing compo 2 times in a row becomes ^V)
After switching panes (the issue above) exiting insert mode with Esc duplicates line n times. The amount of times seems to be different every time but I suspect it is dependent on amount of time Esc held down. NB: I have CAPS and ESC swapped wit setxkbmap, so I am pressing CAPS on physical keyboard. It happens in a way that first Esc press does nothing and second press duplicates. It might be that this gets solved if the issue above is solved...

Screenshots

Line 1 is me switching between panes when in insert mode.
Line 2 is me trying to paste with Ctrl+Shift+V in insert mode and then exit inset mode.
Next I wrote aaa, then switched between panes and then tried to exit insert mode causing this repetition.
Desktop:

Please run neovide --log and paste the results here:
neovide --log
Ignored client type property: "methods"
Ignored client type property: "attributes"

Additional context
I noticed the repetition bug didn't happen when running neovide from terminal, but it does when I run it from dmenu. Pretty sure it's not a issue with dmenu / xmonad as everything works fine in terminal nvim.
Also I have en keyboard map

Issue 1 is fixed in main. Please test it
Issue 2 is not a bug. Terminal nvim displays the same behavior. I believe this is a feature of your terminal emulator and is out of scope
Issue 3 I thiiink may be a subset of the issue 1. Can you try main?
If these aren't fixed please reopen this issue.


Cloudfoundry : Cannot push NodeJS app

I am trying to push Kibana to a Cloud Foundry PaaS via cloudfoundry. At cf push I get this error
Error uploading application.
GetFileAttributesEx C:\Users\asd\qwe\zxc\installedPlugins\shield\node_modules\eslint\node_modules\file-entry-cache\node_modules\flat-cache\node_modules\del\node_modules\globby\node_modules\glob\node_modules\inflight\node_modules\wrappy\package.json: The system cannot find the path specified.

I can see that the package.json is actually present at that path! How do i resolve this?
I tried adding a .cfignore with just on line node_modules in it but I still get the same error.
cf --version
cf version 6.12.4-b4b6af1-2015-09-18T10:55:12+00:00

Hi @abtpst
Is your problem specific to Bluemix?  If so, you may wish to reach out to their support, as this repository is for the open source Cloud Foundry project whereas Bluemix is IBM's proprietary offering of Cloud Foundry.
I suspect your issue is not Bluemix-specific, and in fact has more to do with the CLI than cf-release.  I would recommend opening an issue at https://github.com/cloudfoundry/cli/issues.  When you do so, it will ask you to provide a bunch of additional information that will help the CLI team to help you debug the problem.
Best,
Amit

Closing due to inactivity.


PEER REVIEW: 28/04/2023

Good work so far on you website so far Nelson 👏
however I would recommed the following changes:

work on the partners images layout on the mobile view
work on the layout of the past events to match with  the original design

Good work so far on you website so far Nelson 👏 however I would recommed the following changes:

work on the partners images layout on the mobile view
work on the layout of the past events to match with  the original design

Thank you Sir, I'll take into account your comments


Use RobotMap more often

Right now, port numbers for joysticks have to be hard coded into mappings. A more preferable system would be one that automatically maps joysticks using a for loop.

This will reduce performance and has no reason besides laziness.


fix Codex32String::from_unchecksummed_string

adds checksum.input_own_target() before reading the residue
appends the checksum in the same case as the case of ChecksumEngine
adds tests for from_unchecksummed_string using all valid BIP-93 codex32 strings

Thanks for the contribution! These changes look good to me. As noted in the README we will likely rewrite this library soon in terms of rust-bech32 (I would like to implement error correction there and then I'll start working on that). But I appreciate the changes nonetheless.


Allow specifying a role to assume when initializing a storage provider

Allows caller to specify a IAM role to assume in the Kopia storage provider

Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[x] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Supportability/Tests
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#2106

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[x] :green_heart: E2E

Going to approve to unblock (not clear on urgency here), but I really think we're better off jumping straight to integrating the new fields into the storage/s3 handling instead of the current workaround that uses the parent config struct.

Discussed offline - if this approach does work out - will follow up and make this part of the S3 configurator.


refactor(types): use RefCallback as the type of measureRef

refactor(types): use RefCallback as the type of measureRef

Pull Request Test Coverage Report for Build 906946069

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 5.869%

Totals

Change from base Build 906489969:
0.0%

Covered Lines:
17

Relevant Lines:
256

💛  - Coveralls


pylibdmtx.encode produces Encoded with empty 'pixels'

Using Pylibdmtx from current master:
>>> from pylibdmtx import pylibdmtx
>>> pylibdmtx.encode(b'yolo')
Encoded(width=100, height=0, bpp=0, pixels=b'')

Seems to be working now.
>>> from pylibdmtx import pylibdmtx
>>> pylibdmtx.encode(b'yolo')
Encoded(width=80, height=80, bpp=24, pixels=b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\


Bigtable read and filter snippets

I wasn't able to figure out why the tests are failing in kokoro. I ran them on my machine using the same project the tests run on, but they worked.


Can't get 1.14.3 from CocoaPods

I'm not able to update to 1.14.3 using CocoaPods. Says 1.14.2 is the latest release. What am I missing?

1.14.3 is not released on cocoapods due to an issue related to the ownership of the module in CP.
you can use the git reference:
pod 'Parse', git: "https://github.com/ParsePlatform/Parse-SDK-iOS-OSX", tag: "1.14.3"

Ah, I see. Thanks a lot!
Claes
On Wed, Mar 29, 2017 at 3:32 PM, Florent Vilmart<EMAIL_ADDRESS>wrote:

Closed #1126
https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/1126.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/1126#event-1020429929,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAe83fGWBQ3579JVb-byYQjf3VD6h8RMks5rql1sgaJpZM4Ms9qw
.

no problemo!


[DUOS-1740][risk=no] Workaround for react-error-overlay bug with hot-reloading

Addresses
https://broadworkbench.atlassian.net/browse/DUOS-1740
Fixes a dev dependency bug in react-error-overlay where hot reloaded pages have an overlay that breaks text selection and links on the refreshed page.
See https://github.com/facebook/create-react-app/issues?q=is%3Aissue+is%3Aopen+process+not+defined+ for more related issues, specifically 12064 and 11773.

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

It's a lot easier to just add "react-error-overlay: "6.0.9" to devDependencies (it's even advised by the React dev team https://github.com/facebook/create-react-app/issues/11773#issuecomment-996540501)

Thank you @JVThomas - updated, PTAL


DXVK hangs GPU for some reason in Darksiders 3.

This happens during the game start up.
This Unreal Engine 4 D3D11 game works with wined3d but not with dxvk:

System information

GPU: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
Driver: Mesa 19.0.0-devel - padoka PPA
Wine version: wine-4.0-rc1 (Staging)
DXVK version: v0.93

apitrace
https://drive.google.com/open?id=1bHUkIt2tkF96sbT9BGEunEV0LdYP-czq
Log files
Darksiders3-Win64-Shipping_d3d11.log
Darksiders3-Win64-Shipping_dxgi.log

Try running the game with validation layers (https://github.com/doitsujin/dxvk#debugging) and post the logs with that please.

Darksiders3-Win64-Shipping_d3d11.log
Darksiders3-Win64-Shipping_dxgi.log

Most likely an ANV issue, the game clearly works fine on Nvidia: https://www.youtube.com/watch?v=GD6DxKIKzrY

Most likely an ANV issue, the game clearly works fine on Nvidia:

I'm happy for you but your comment is now helping.

Most likely an ANV issue, the game clearly works fine on Nvidia:

I'm happy for you but your comment is not helping.

I apologize if my comment sounded the wrong way, I was merely pointing out that dxvk works with this game and the issue may be related to ANV.  Didn't mean to offend or anything.

game and the issue may be related to ANV.
I thought you made a mistake, what is ANV by the way?

game and the issue may be related to ANV.

I thought you made a mistake, what is ANV by the way?

Intel ANV is the name of their open source Vulkan driver.

I think that my system freezes because dxvk allocates a lot of memory for unknown reason. I don't know how can I figure it out.

https://github.com/doitsujin/dxvk/issues/707
https://github.com/doitsujin/dxvk/issues/632
Sounds similar to your problem

It's probably just a gpu hang and not related to allocations at all.

It's probably just a gpu hang and not related to allocations at all.

I can't detect any error because my system freezes instantly and I can only reboot through poweroff button. Any ideas?

https://bugs.freedesktop.org/show_bug.cgi?id=109020

I'm guessing you're not running the game from Steam right?
If I try that the game won't even start and I get the following message :
DX11 feature level 10.0 is required to run the engine

What's the setup to reproduce this?

What kernel version are you using now? There is a serious regression with i915 starting with 4.18, which was fixed in 4.20-rc7. This regression makes the system crash hard, which seems similar to what is happening on your case.

I've been trying to figure out the cause of this issue. I'm currently testing it on 2 systems with Intel HD and having mixed results.
System 1: Laptop i3-5005U with 16GB ram. The game runs fine here barring the low performance and it's able to allocate 3.9GB V-Ram.

System 2: Desktop i3-7100 with 8GB ram. The game runs and freezes same as OP. DXVK logs remain empty. I checked my motherboard and on the spec sheet it clearly states "Max Shared Memory 1024MB", however when I run Guild Wars 2 using D9VK it is able to allocate and use over that amount without issues:

For consistency both of these tests were ran with fresh installations of Xubuntu 19.04 and using stock kernel/mesa. On the 8GB system I upgraded the Kernel to 5.1 and Mesa to latest using Oibaf and the situation remained the same.
Currently I'm running out of options of what else to try. I'll remove one of the 8GB Ram modules on my laptop to bring the ram amount the same as the desktop and see what happens.
Log Files
Darksiders3-Win64-Shipping_dxgi.log
Darksiders3-Win64-Shipping_d3d11.log

Update:  Removing one of the two 8GB sticks on my laptop still launched the game successfully. At this point this is most likely looking like an issue specific to Gen9 graphics.

hello guys. I found out, that this bug is very similar to other, reported in mesa:
https://bugs.freedesktop.org/show_bug.cgi?id=110228 (here is the first one, other you may find in links to it). As I see here, Darksides also uses UE4 engine, so I checked attached trace with this kernel patch from => https://bugs.freedesktop.org/show_bug.cgi?id=110998
And it fixed the hang. Now trace reproduces up to splash screen and crashes (what, I think, is ok). Tested 3 times, no hangs.
Also interesting fact, that on CFL cpu I couldn't reproduce the hang in all kernels I had (4.19, 5.+, and even patched)... what might be a bit strange (because during testing UE4 issue I used exactly CFL machine...). Anyway, current tests were made on KBL cpu.


fix(ffe-message-box-react): fix MessageBox Typescript types

Omitting the title from HTMLDivElement because MessageBoxProps overrides it.

Coverage remained the same at 84.697% when pulling be1e2394eea4be49cccf8169375ada1b5fb267aa on fix-message-box-types into d6d2aaefd707e1b5c3659cf0b2890314ea4fc699 on develop.


feat: add AVX support detection and optimization

This commit adds code to detect AVX support using the CheckCSourceCompiles module. If AVX is supported, the compiler options are updated to include -mavx. A message is printed indicating whether AVX support was detected or not.
The changes also remove the AVX optimization for Apple ARM64 processors as it is already covered by COMPILER_SUPPORTS_AVX.

I assume Exqalibur uses quandelibc. Since it is closed-source and the build only includes CPython I am not able to patch it.
Any recommendations on how I get exqalibur running on machines that do not support AVX for now?
I guess that you will publish a new version of exqalibur after this PR goes through.


Incorrect validation of OpPtrAccessChain  and OpInBoundsPtrAccessChain

For OpPtrAccessChain and OpInBoundsPtrAccessChain SPIR-V specification says that word count for these instructions is "5 + variable". It means that minimum size of the instruction is 5 words, i.e. these instructions without indexes are valid.
But in this case the validator reports "No Indexes were passed to OpInBoundsPtrAccessChain” error.
I think indexes operands for these 2 instructions should be optional.
SPIRV to reproduce the problem

Thanks Alexey for pointing this out. I will fix this shortly.

I made https://github.com/KhronosGroup/SPIRV-Tools/pull/533 out of @ehsannas' change.
I reviewed it and pushed it into master.


Script ended unexpectedly.

Hi!
I get a "Script ended unexpectedly" error when running the following code :
$d = new DateTime();
$i = new DateInterval('P2W');
$p = new DatePeriod($d, $i, 5);

< $p;

php-console is running in the php 7 built-in web server (PHP 7.0.8-0ubuntu<IP_ADDRESS>).
Am I doing something wrong ?

Can you try running that code in a simple php file with php -r test.php on the command line? Just to see if you get more details..

Hi,
Thanks for your reply.
 php -r '$d = new DateTime();$i = new DateInterval("P2W");$p = new DatePeriod($d, $i, 5);'
--> no output

Ah I see, I get Fatal error: Uncaught Error: Writing to DatePeriod properties is unsupported in console\krumo\class.krumo.php on line 921.. it seems krumo does some hackery that breaks with DatePeriod objects.. So just use var_dump($p); instead for this one. Sorry about that.

Ok no problem. Thank you.


Can't get all generated frames

Hi All,
Unfortunately I can't get all frames from my CARLA, only if I set lower resolution (320x240) I can successfully get all of them.
My frames list looks like:
001177.png 001178.png 001179.png 001180.png 001181.png 001182.png 001185.png 001186.png 001187.png 001188.png 001193.png 001194.png 001209.png 001210.png 001228.png 001236.png 001237.png 001260.png 001269.png 001289.png 001290.png 001291.png 001306.png 001314.png 001323.png 001324.png 001340.png 001341.png 001354.png 001369.png
... by running tutorial.py from examples or any other flow with image.save_to_disk
Setup:
CARLA version: 0.9.13/12
Platform/OS: ubuntu 20.04
RAM: 64Gb
NVIDIA-SMI 525.60.13    Driver Version: 525.60.13    CUDA Version: 12.0
Any idea?
Thanks

Hi,
You need to run the simulation in synchrounous mode to make sure all the data is generated and retrieved between simulation steps. This is explained in the documentation: https://carla.readthedocs.io/en/0.9.14/adv_synchrony_timestep/
"Using synchronous mode
The synchronous mode becomes specially relevant with slow client applications, and when synchrony between different elements, such as sensors, is needed. If the client is too slow and the server does not wait, there will be an overflow of information. The client will not be able to manage everything, and it will be lost or mixed. On a similar tune, with many sensors and asynchrony, it would be impossible to know if all the sensors are using data from the same moment in the simulation.
The following fragment of code extends the previous one. The client creates a camera sensor, stores the image data of the current step in a queue, and ticks the server after retrieving it from the queue. A more complex example regarding several sensors can be found here.
settings = world.get_settings()
settings.synchronous_mode = True
world.apply_settings(settings)

camera = world.spawn_actor(blueprint, transform)
image_queue = queue.Queue()
camera.listen(image_queue.put)

while True:
    world.tick()
    image = image_queue.get()
```"

A complete example can be found in sensor_synchronization.py.

Great! Thanks @p-testolina


ENH: Simultaneously compute bounding boxes for images with multiple labels

Description
New functionality in ContourExtractor2DImageFilter simultaneously computes the bounding box for each and every distinct pixel value (aka label) in an image, as part of a larger task; see pull request #2323.  That functionality is useful more generally and could be added to an existing or new ITK class.

HASI does this too:
https://github.com/KitwareMedical/HASI/blob/master/include/itkSegmentBonesInMicroCTFilter.hxx#L258-L285


Add task trace support

Summary
This PR adds "trace" command for task trace.

Currently the documentation is available at https://github.com/YuuichiNakamura/nuttx-task-tracer-doc/blob/master/NuttXTaskTracer.md
rst version will be prepared later.

Impact

"trace" command is added as built-in apps. It is available only when the related kernel configurations are enabled.

Testing
Tested by spresense:nsh by changing the following configurations.
CONFIG_SCHED_INSTRUMENTATION=y
CONFIG_SCHED_INSTRUMENTATION_FILTER=y
CONFIG_SCHED_INSTRUMENTATION_SYSCALL=y
CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER=y
CONFIG_DRIVER_NOTE=y
CONFIG_DRIVER_NOTERAM=y
CONFIG_DRIVER_NOTECTL=y
CONFIG_SYSTEM_TRACE=y
CONFIG_SYSTEM_SYSTEM=y

Then "trace" command is added as built-in apps.
nsh> trace cmd usleep 1000
nsh> trace dump

This can get the following results:
<noname>-1   [0]   7.640000000: sys_ioctl -> 0
<noname>-1   [0]   7.640000000: sys_close()
<noname>-1   [0]   7.640000000: sys_close -> 0
<noname>-1   [0]   7.640000000: sys_sched_lock()
<noname>-1   [0]   7.640000000: sys_sched_lock -> 0
<noname>-1   [0]   7.640000000: sys_nxsched_get_stackinfo()
<noname>-1   [0]   7.640000000: sys_nxsched_get_stackinfo -> 0
<noname>-1   [0]   7.640000000: sys_sched_unlock()
<noname>-1   [0]   7.640000000: sys_sched_unlock -> 0
<noname>-1   [0]   7.640000000: sys_clock_nanosleep()
<noname>-1   [0]   7.640000000: sched_switch: prev_comm=<noname> prev_pid=1 prev_state=S ==> next_comm=<noname> next_pid=0
<noname>-0   [0]   7.640000000: irq_handler_entry: irq=11
<noname>-0   [0]   7.640000000: irq_handler_exit: irq=11
<noname>-0   [0]   7.640000000: irq_handler_entry: irq=15
<noname>-0   [0]   7.650000000: irq_handler_exit: irq=15
<noname>-0   [0]   7.650000000: irq_handler_entry: irq=15
<noname>-0   [0]   7.660000000: sched_waking: comm=<noname> pid=1 target_cpu=0
<noname>-1   [0]   7.660000000: irq_handler_exit: irq=15
<noname>-1   [0]   7.660000000: sched_switch: prev_comm=<noname> prev_pid=1 prev_state=R ==> next_comm=<noname> next_pid=1
<noname>-1   [0]   7.660000000: sys_clock_nanosleep -> 0

I don't believe that this should be a part of NSH.  NSH is a thin shell, like Bash, with a few simple built-in functions but its primary purpose is to interact with the system and with other programs.  It should NOT contain any specialized programs itself.  Any specialized programs must be moved to apps/system as built-in applications.  There is no difference from the user experience, but this properly prevents NSH from exploding in size with specialized, programs.  It must stay lean.

I don't believe that this should be a part of NSH. NSH is a thin shell, like Bash, with a few simple built-in functions but its primary purpose is to interact with the system and with other programs. It should NOT contain any specialized programs itself. Any specialized programs must be moved to apps/system as built-in applications. There is no difference from the user experience, but this properly prevents NSH from exploding in size with specialized, programs. It must stay lean.

@patacongo I understood. I'll try to fix it to built-in apps.

@patacongo I have fixed the implementation as the built-in apps and moved into apps/system/trace.
@xiaoxiang781216 Some of your comments were solved by changing into built-in apps.

The last commit 7e3a54a is a very trivial changes. Only README.md was changed.

@xiaoxiang781216 Thank you for your great support for my kernel and app PRs!
I'll work on the maintenance of the documents in https://github.com/apache/incubator-nuttx/pull/1955 .


Support latest Octicon icons

Context
I am trying to do docs contributions to HoloViz Panel. I notice that something does not work when I use specific Octicon icons in the cards.
In https://github.com/holoviz/panel/issues/6318 I request Panel to support these icons. But I'm told its really Sphinx-Design that do not support them. Sphinx-Design only supports the octicon-icons listed in https://sphinx-design.readthedocs.io/en/latest/badges_buttons.html#octicon-icons
Proposal
Support all Octicon Icons that can be found at https://primer.style/foundations/icons
Not Working

This should be closed by #171, but feel free to re-open if not

Thx


Infinite spinner when Delete all for only empty folders

EPAM AI DIAL chat version
0.14.0
How to reproduce
Preconditions:
user doe not have any own chats and prompts ( only shared with me or Organization if exist)
Steps:

add new chat folder
click Delete all button in the bottom of conversation side panel -> infinite spinner on the panel
add new prompt folder
click Delete all button in the bottom of prompt side panel -> infinite spinner on the panel

Actual result

Expected result
side panel without deleted folder should be displayed
Confidential information

[X] I confirm that do not share any confidential information

Note: to reproduce p.2 you need to have Shared with me or Published conversation and don't have own conversations

Verified on staging env successfully


Tap on headerView / circle icon

It would be nice to be able to tap on the circle icon and dismiss the alert.

It can mix up with dragging & dismissing the CDAlertView. Therefore, I'm not really a fan of doing this actually.

Since there is no one else requested and I'm not a fan of doing this, closing the issue. Thanks for the idea :)


Fix schemaname for PostgreSQL 9.5 fixes #17

Also fixed some psr2 code style.

Can not merge :(

Yeah fixed it, produced it by myself with the other pull request...should be okay now :)

Looks good, thanks :)


[Translation] GetTranslationStatusesFilterByStatusTest failing in nightly runs

Translation nightly test runs are failing with:

Error message
System.AggregateException : One or more errors occurred.
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOperationException : Cancellation not propagated to all documents
----> System.InvalidOper
Stack trace
at Azure.Core.TestFramework.TestRetryHelper.d__21.MoveNext() in D:\a\_work\1\s\sdk\core\Azure.Core.TestFramework\src\TestRetryHelper.cs:line 48 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Azure.AI.Translation.Document.Tests.DocumentTranslationClientLiveTests.<CreateTranslationJobsAsync>d__12.MoveNext() in D:\a\_work\1\s\sdk\translation\Azure.AI.Translation.Document\tests\GetAllTranslationsFilterTests.cs:line 79 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Azure.AI.Translation.Document.Tests.DocumentTranslationClientLiveTests.d__13.MoveNext() in D:\a_work\1\s\sdk\translation\Azure.AI.Translation.Document\tests\GetAllTranslationsFilterTests.cs:line 92
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func1 invoke)    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)    at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()    at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action) --InvalidOperationException    at Azure.AI.Translation.Document.Tests.DocumentTranslationClientLiveTests.<>c__DisplayClass11_1.<<WaitForJobCancellation>b__0>d.MoveNext() in D:\a\_work\1\s\sdk\translation\Azure.AI.Translation.Document\tests\GetAllTranslationsFilterTests.cs:line 42 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Core.TestFramework.TestRetryHelper.d__21.MoveNext() in D:\a\_work\1\s\sdk\core\Azure.Core.TestFramework\src\TestRetryHelper.cs:line 37 --InvalidOperationException    at Azure.AI.Translation.Document.Tests.DocumentTranslationClientLiveTests.<>c__DisplayClass11_1.<<WaitForJobCancellation>b__0>d.MoveNext() in D:\a\_work\1\s\sdk\translation\Azure.AI.Translation.Document\tests\GetAllTranslationsFilterTests.cs:line 42 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Core.TestFramework.TestRetryHelper.d__2`1.MoveNext() in D:\a_work\1\s\sdk\core\Azure.Core.TestFramework\src\TestRetryHelper.cs:line 37
--InvalidOperationException
at Azure.AI.Translation.Document.Tests.DocumentTranslationClientLiveTes

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2080984&view=results

@jsquire for notification.

Translation is owned by the service team and already has multiple test quality issues open; there's no value in tracking each individual test failure.   Closing.


GUI-less env does not like gui_tracer

In GUI-less environment, an error is produced:
RROR: /app/lib/Prolog_Library_Collection/prolog/deb_ext.pl:36:
        source_sink `library(gui_tracer)' does not exist
Warning: /app/lib/Prolog_Library_Collection/prolog/deb_ext.pl:36:
        Goal (directive) failed: deb_ext:use_module(library(gui_tracer))

:- guitracer. call is commented out anyway.

GUI-dependence is indeed something that is not wanted in this library.
I've removed references to the GUI debug tools in 016af6c561beb3af111fe6d49c8c2e3630bc7cc8


MongoDB Console Error

When starting the bot and failing to provide your MongoDB Database URL the console will return the error
"MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
This will cause current (infraction system) & future systems in the bot to fail to work.
Please add your database URL in the config.json file.
How to get a MongoDB Database

UPDATE - BOT WON'T REPLY TO COMMANDS IF A DB LINK HASN'T BEEN PROVIDED!
PLEASE PROVIDE ONE


Upgrade all dependencies (including prebuild-install)

Addresses #692 and #694

@JoshuaWise is there anything I can do to help expedite merging this?

...friendly bump...


write_buffer_size in pika.conf

When I query the write_buffer_size using "config get write_buffer_size" in redis-cli, the value returned is different from the value specified in pika.conf. Which one is the real size of the write buffer? Or do they have different units?

Thx for reporting!!!
write_buffer_size is used to set memtable size of rocksdb at startup and could't be modified in running time.
we tried it but didn't observe the behivious you described, can you give us more details about this？

Thank you for replying. I have just found that there is a new version of the master branch.  It turns out that the latest version does not have this problem.


MOS modules?

MOS is currently a monolith.  The only concession to this is support for executable commands as files stored inside the mos folder at the root of the SD card.
The Acorn MOS of the BBC Micro supported additional ROMs that could add additional functionality.
Arthur, and later RISC OS, included support for "Relocatable Modules" which could be soft-loaded from disc or present in ROM as an equivalent mechanism for extending the OS.
Ideally MOS should support a module system to allow it to be extended.

A module mechanism like this could be used to allow for joystick port support.
Different joystick interfaces could provide modules supporting the same software API, allowing software to be written that can easily target all types of joystick interface.

Interesting idea although I'm not sure of the extent of modularity and what that would mean. As a design principle, I'm not keen on losing memory space for additional modules as the default mode of operation. If the devices are interrupt driven then you could just update the interrupt vector for the respective driver? Is that the level you are looking for - a known API to select specific interrupt so that they can move around between MOS versions without needing to know the exact location of the driver code? Does that meet the driver requirement?
In a way, I see the MOS more as a monitor than an OS - a boot strap to get you off the ground, but if you want OS functionality, there are options to load on top like CP/M, TRS-OS and ZealOS (8 bit).

yup - it's all tricky, and knowing how best to deal with this kind of thing is hard :grin:
My (incomplete) understanding of how Acorn did this kind of thing was thru "vectors" which were kinda like interrupts, but not necessarily always interrupt driven.  The mechanism they used feels sensible.  At this time I'm not quite sure how to bring that kind of functionality to the agon-mos, and need to do some research and experimentation to work that out.
I'm not keen on losing memory either.  I wonder if it's possible to have such driver modules optionally stored in flash on the eZ80, and thus not taking up RAM space.
As I see it, MOS needs to be more than just a BIOS or HAL, and I can't envisage a time when to actually use your Agon you'll need to load an OS on top of it.  Sure, you can run a more fully featured OS on top of it, but to me that is akin to running Windows or GEM on top of DOS.  I think it's an important feature of the Agon platform that you can plug in an Agon machine and actually use it without having to load anything else in.

One way to do it is an extensible device control table (DCT), which of course takes up some memory and needs laying out properly (TRS-DOS/LS-DOS for the TRS-80 model 4 is a good example), but if you have enough of the drivers in flash with some other kind of de-referenced hook, you could point to them by something like "request location of built-in mouse driver 2" (allowing to BYO if you want), then "do action on the generic mouse driver" which in this case would be "install address I just received as a mouse driver", could be get coordinates etc - the driver would need to play nice and hook in to interrupts if desired or not in the case of joystick . Wouldn't take up too much memory I guess? Could allow for testing as well?

This idea was also posted as an issue to Quark MOS here breakintoprogram/agon-mos#91
There is some interesting (further) discussion about the idea there, including an example of code relocation from MSXDOS in Z80 mode from @S0urceror


Create 2023-10-01-dashboards

Note the deprecation of Classic Dashboards.
Purpose of this pull request
This pull request (PR) ...
Issue number:

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

@kevin-sumo , is this ok to merge now?

Yes, your free to merge if the text look good.

@kimsauce, see the message above:

@github-merge-queue bot removed this pull request from the merge queue due to no response for status checks 40 minutes ago


Need help?

Hi! I was watching this plugin and it really looks like something that would be very useful to us. How can I contribute to it to get it over the finish line? Do you want/need testers? Coders? Test coders?

I guess testing the quality of the JSON output and providing feedback in the form of issues is always good 😉

Oh hey!!!! It's finally in the GitHub action!!! That's amazing! I'm thrilled to see that's finally happened!!! 🎉


Relative stream possible issue with pointers

I was looking through stream implementation. Relative stream and the stream it wraps are sharing same pointer, right?
So if we rewind wrapped stream, read on relative will return data before offset position.
Also tell() will give negative position, which is out of bounds error.
This shared pointer in streams looks extremely bug prone to me.
May be on seekable streams we should store pointer locally, set it before performing operation and record new position after doing it?
As simplified example:
public function read()
{
    $this->seek($this->position, SEEK_SET);
    $result = fread($resource, $length);
    $this->position = $this->tell();
    return $result;
}

This repository has been closed and moved to laminas/laminas-diactoros; a new issue has been opened at https://github.com/laminas/laminas-diactoros/issues/27.


Refactor Rust build-target + Onomy enhancements

Rust
Removes implicit cargo BUILD_TARGET. Now, you must specify the entire cargo command; no longer assuming build-target is limited to cargo subcommands. This mirrors a recent change to go-based images where you must specify the entire command; not assuming make.
I like this pattern because it is explicit with the small tradeoff of repeating cargo a little more. Additionally, it's more clear when reading chains.yaml. Right now, rust-based chains all use cargo but in the future, we may need to use make or some other build script. This change gives us the flexibility to do so.
Onomy

Adds gbt companion process required by validators
Fixes and closes https://github.com/strangelove-ventures/heighliner/issues/68

--target is a flag specific to cargo. The required flag also means that multi-line build-target will not work for rust. I posted my reasoning on not touching rust for now here.
If we want to handle this now, we should do something like export a CARGO_TARGET env var which can be used by the specific chain build-target cargo commands