[top_earlgrey,ROM] Configure AST mux selectors on IOB[0:3] based on OTP bits

As we're adding muxes on IOB[0:3] (PR #23201), which are controlled by AST CSRs (issue #23280), ROM needs to read OTP values (issue #23281) and configure the AST CSRs based on those values.
This issue is about implementing the ROM part.

This should already be covered as part of the AST init configuration based on #23281.
CC @meisnere, @andreaskurth, @sha-ron.
@sha-ron Please let us know if ok to close this issue from your perspective. Thanks

Yes. it is already covered as part of the AST init configuration.


Export to PDF/Image feature

Easily export feature to share the stats for league chats.

I second this. Or even the ability to share the results so people don't have to log in.

I second this. Or even the ability to share the results so people don't have to log in.

Oh I like this idea too, so make like a shareable link that doesn't require to login.


Step title as icon

Is it possible to add icon/drawable to the step instead for using the title as String?

Not currently, but I can consider adding this feature if it makes sense. Could you please provide a use case for it? I cannot really think of one.

Hi ernestoyaquello, thanks for the reply. Here is the use case
Right now the library support only String i.e Step<String> . So if it possible to have class like Step<Drawable> so that while initializing the step we can pass either text or drawable for each step.

Hi again. I wasn't asking about the implementation, but about the cases in which this feature could be necessary and/or useful. I just don't want to overcomplicate the library with new functionalities that aren't really valuable or don't make sense.

It as the requirement of the project which has two different step icon which we need to change while we move forward to next step i.e initially active step icon and later on step change inactive step icon.

I think that what you are asking for would definitely over-complicate the library, as it is not a standard feature that most people would need, but just a very specific requirement of your project.
However, I have updated the library to include a method that you can extend to define your own step layout, which could be used to achieve what you are trying to do. Please take a look.


Replace deprecated Nix vendorSha256 call with vendorHash

When including the flake into my nixos system and doing a rebuild I get the following error:
trace: warning: 'vendorSha256' is deprecated. Use 'vendorHash' instead

The vendorHash function is a drop in replacement, so with this PR the warning will be gone.
(The deprecation of vendorSha256 can be verified by checking the nixos 23.11 release notes that say "The argument vendorSha256 of buildGoModule is deprecated. Use vendorHash instead. Refer to PR #259999 for more details.")

Don't forget update-flake.sh too.

Thanks @patka-123!


After add serde_json in my app. Old code conflict with serde_json for bothing impls satisfying u8: PartialEq<_>

  error[E0283]: type annotations needed
   --> src/http2/detect.rs:629:41
    |
629 |     if direction == Direction::ToServer.into() {
    |                  --                     ^^^^
    |                  |
    |                  type must be known at this point
    |
    = note: multiple `impl`s satisfying `u8: PartialEq<_>` found in the following crates: `core`, `serde_json`:
            - impl PartialEq for u8;
            - impl PartialEq<serde_json::Value> for u8;
help: try using a fully qualified path to specify the expected types
    |
629 |     if direction == <core::Direction as std::convert::Into<T>>::into(Direction::ToServer) {
    |                     +++++++++++++++++++++++++++++++++++++++++++++++++                   ~

Do we have namespace concept for hiding serde-json.  It should not broken my old code If I want to use impl PartialEq<serde_json::Value> for u8 I need do  use serde explicitly)
The old code is something like
#[repr(C)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum Direction {
    ToServer = 0x04,
    ToClient = 0x08,
}

impl Default for Direction {
    fn default() -> Self { Direction::ToServer }
}

impl std::fmt::Display for Direction {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            Self::ToServer => write!(f, "toserver"),
            Self::ToClient => write!(f, "toclient"),
        }
    }
}

impl From<u8> for Direction {
    fn from(d: u8) -> Self {
        if d & (DIR_TOSERVER | DIR_TOCLIENT) == (DIR_TOSERVER | DIR_TOCLIENT) {
            debug_validate_fail!("Both directions are set");
            Direction::ToServer
        } else if d & DIR_TOSERVER != 0 {
            Direction::ToServer
        } else if d & DIR_TOCLIENT != 0 {
            Direction::ToClient
        } else {
            debug_validate_fail!("Unknown direction!!");
            Direction::ToServer
        }
    }
}

impl From<Direction> for u8 {
    fn from(d: Direction) -> u8 {
        d as u8
    }
}

The scenes come from add serde_json for rust in suricata.

I have the same problem here, I impl my struct to cmp to u8, and serde_json impl PartialEq<serde_json::Value> for u8;
and how can I do here, thanks.


lxc start - Failed to mount ZFS filesystem

Required information

Distribution: Ubuntu
Distribution version: 17.04 (Zesty Zapus)
The output of "lxc info" or if that fails:

Kernel version: 4.10.0-26-generic #30-Ubuntu SMP
LXC version: 2.12
LXD version: 2.12
Storage backend in use: zfs

Issue description
After I start container (this is permanent problem) I get error :
error: Failed to mount ZFS filesystem: filesystem 'lxdpool/containers/second' is already mounted
cannot mount 'lxdpool/containers/second': mountpoint or dataset is busy
Try lxc info --show-log second for more info
When I want to see lxc info --show-log I get:
Name: second
Remote: unix:/var/lib/lxd/unix.socket
Architecture: x86_64
Created: 2017/07/11 12:06 UTC
Status: Stopped
Type: persistent
Profiles: default

Log:
Steps to reproduce

Only reboot host can help, but it cannot be like that to reboot server when I have 30 lxd running
I tried in two images centos 7 and ubuntu 16.10 and problem is the same

This is our dearly beloved zfs bug which is caused by the fact that zfs is not namespace aware. We have a ticket open upstream about this. That being said, you should upgrade to LXD 2.15 since we handle this bug smarter nowadays. Please report back if you experience additional issues after you have upgraded!

this is what I get -> lxd is already the newest version (2.12-0ubuntu3)

Hi, you can get LXD 2.15 using the backports pocket.
apt install -t zesty-backports lxd lxd-client

That will get you LXD 2.15.

And will get you the latest stable LXD once a month after we've released and tested it.

I have ran into this problem today, with lxd 3.12, which was automatically updated by snapd today (2019-04-08).  I wanted to add a disk device to a container, via a profile, and when I tried to restart the container (because I could not see the new device), it wouldn't start, because it could not mount another existing zfs storage pool volume.  I don't know if this was caused by the update to LXD 3.12 or not, since the update happened at some random time that I did not know.
My desktop, where I could test things, is still on LXD 3.11, so I have two systems on different versions.
I read at the top that "This is our dearly beloved zfs bug which is caused by the fact that zfs is not namespace aware. We have a ticket open upstream about this."  Could you add a reference to this upstream bug, so we can track its progress?
Is there a way to unmount the zfs volume manually, so I can start the container?


Add Whatbox

Summary
Add Whatbox to the bug bounty list.
Quality Assurance Checklist

Review Items
Y/N

Site has a publicly known bug bounty
Y

Disclosure terms are publicly available
Y

Public URL
Y

Single Source, or all sources appended
Y

Commentary
Just discovered disclose.io! We've been strong advocates for bug bounty programs for years.
I appreciate the effort you have put into better protecting researchers. While full safe harbour was always implied in our program, we never had the terminology to guarantee it for researchers. You had country-specific terms ready to go for us!

This is awesome @anthonyryan1! Thanks for the feedback 👍


Add support for static resource bundle deployment

It would be nice if there was an option in the deploy settings for resource bundles as well. It wouldn't be too difficult to then zip the files within the folder and deploy them as staticresources

There are already other libraries that can make this happen pretty easily. I don't know if it belongs as part of the grunt-ant-sfdc plugin or not, though I can see a case for it.
We use the 'compress' plugin and have a task-list that looks something like this:
clean -> jshint -> copy -> less/compass -> compress -> rename -> write-meta -> antdeploy -> copy:localcopy -> clean
So, if the file is a folder, we copy the folder to a temporary directory and compress it to a zip file and rename it to .staticresource. We then copy the file to our local src/staticresources directory so that we can commit and deploy the compiled resource further up the chain.
It's really quite easy. If you want more specific details, I can help.

You don't even need a specific rename step, using the options in compress you can target the static resource directly.
options: {                         mode: 'zip',                         archive: 'salesforce/src/staticresources/broadswordjs.resource'                     }
And with the files options in compress you can also carefully select the files you want, preserve directory structure where needed etc

@andynormancx You're correct; great advice. I misread our gruntfile. We run compress if the target is a folder, and rename otherwise.

Agree that this would be userland implementation and not something for this module. Thanks for the suggestion though!


ee-beta-labs.play-with-docker.com provides linux only cluster

Hello,
Please see title.
Thanks in advance,
Naseem

Hi,
Now it says that no more sessions are available.
I suppose they will only be available, and will have a window node each, during the birthday party, if this is the case forgive me for my ignorance and close this issue.
Thanks,
Naseem

Are you at a birthday event right now? If so, which one? That's not the site that you should be directed to.

Hello!
Not atm, but in a few hours yes. Montreal.
I was following the exercises below pre-emptively.
https://github.com/dockersamples/docker-fifth-birthday
Thanks,
N

Thanks, I found those links and removed them. The workshop organizers should provide a URL for you to access the environment.

Great, thank you.


Starlette (and maybe other ASGI apps) not sending transaction data

Hi!
I've been trying to integrate sentry error and transaction monitoring into a couple of Starlette (ASGI) apps. I've followed instructions at https://docs.sentry.io/platforms/python/asgi/.
Error catching and forwarding to sentry seems to work fine, however, transaction and performance tabs in Sentry remains empty, as if nothing was sent. We have another project that uses Django on the same Sentry instance, and performance information is collected and displayed properly.
Reproducing the issue
I initially thought this was related to our Starlette project, but I can successfully reproduce this following the steps below:

Configure a new ASGI project in Sentry
Install dependencies: pip3 install --user uvicorn==0.12.3 starlette==0.14.1 sentry-sdk==0.19.4
Create a very basic Starlette app:

# app.py

import sentry_sdk
from sentry_sdk.integrations.asgi import SentryAsgiMiddleware

from starlette.applications import Starlette
from starlette.responses import JSONResponse
from starlette.routing import Route

async def homepage(request):
    return JSONResponse({'hello': 'world'})

app = Starlette(debug=True, routes=[
    Route('/', homepage),
])

# I used my actual DSN here
<EMAIL_ADDRESS>
app = SentryAsgiMiddleware(app)

Launch the app: uvicorn app:app
Call the app with curl http://<IP_ADDRESS>:8000
Visit the performance tab of the project created in 1. and see it remaining empty
(optional): add a raise statement in the homepage function and redo steps 4. and 5. to check that error catching work as expected (it worked for me)

I'm not familiar at all with sentry-python internals, so I'm not sure what's the best way to debug this. I'm available if you need any additional information :)

After visiting https://docs.sentry.io/platforms/python/performance/, I realized the sentry_sdk.init() call missed a traces_sample_rate=1.0 argument which seems to be required to enable transaction data collection.
After adding this, our Sentry instance seems to see the transactions:

However, the transaction tab itself is still empty, as if Sentry knew about the transactions but wasn't able to display them:

I can display transactions for other non-asgi projects on the same instance. Could there be something wrong with the transaction data that is sent by the ASGI integration?

Hm, the tab seems to pupulate after a while, I think we can close this


Problem saving and restoring list of string

If I save a List<String> I'm able to use and modify it during app run but at the following restart the app crashes with error:
type 'List<dynamic>' is not a subtype of type 'List<String>?' in type cast
There is something I need to specify during write or read to manage list properly?
My actual code to restore:
  @override
  void initState() {
    super.initState();
    try {
      _savedDevices = box.read('saved_devices') ?? <String>[];
    } catch (e) {
      List<dynamic> tmp = box.read('saved_devices');
      _savedDevices = tmp.map((item) => item.toString()).toList();
    }
  }

where _savedDevices is a List<String> saved as box.write('saved_devices', _savedDevices);
Thanks

I have the same issue, unfortunately couldn't find a workaround for now.

Also experiencing a similar issue. Works fine first time round, but fails after relaunch with the following:
E/flutter (19263): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<Map<String, String>>?' in type cast E/flutter (19263): #0 StorageImpl.read

I'm attempting to store values in a list of maps:
final _downloads = ReadWriteValue("downloads", List<Map<String, String>>.empty(), () => GetStorage('downloads'));

@Vlad-Adrian wonder if a workaround could be to cast to List<dynamic> then cast back when writing?
    try {
      List<dynamic> downloads = _downloads.val;
      downloads.add(tags);
      _downloads.val = downloads as List<Map<String, String>>;
    } catch (t) {
      print(t);
    }

@markst so you are having an issue when writing?
It is strange that you have problems when writing. Did you try with Get.write(key, value); and read it back with Get.read(key);?
When you read it back from memory you can cast it from dynamic to String and should be fine. It doesn't matter if you cast it to String when you save(write) it, after an app restart, the type will get lost.
I hope it helps. In any case let me know :)

I also had strange behaviour while saving List, and now I always encode it to a string, and then decode it back. Works fine.

My Solution
write
Future<void> saveImageList(List<ImageModel> imageModels) async {
      List<Map<String, dynamic>> rawData =
          imageModels.map((e) => e.toJson()).toList();
      await box.write(imageListsKey, rawData);
  }

read
List<dynamic>? result = box.read(imageListsKey);
if(result != null) {
List<ImageModel> modelList = result.map<ImageModel>((element) {
          return ImageModel.fromJson(element);
        }).toList();
}

_savedDevices = box.read<List<dynamic>>('saved_devices').cast<String>() ?? <String>[];

json.decode a list return List. You need to call 'cast' to change the item type form dynamic  to String.


fix: return copy of list in IPage.Frames

We do that in the other places too:

Fixes https://github.com/microsoft/playwright-dotnet/issues/2719

this does not fix #2719.  Channel_FrameAttached and Channel_FrameDetached require synchronization when altering _frames because there are called from a different thread than .Frames.
also, if a copy is being returned there is not much reason to use AsReadOnly()


Add a callback to log raw stats

This PR adds a callback to log raw (unaveraged) stats such as episodic_length, episodic_returns. The testing command is python train.py --algo ppo --env CartPole-v1 -params callback:'"utils.callbacks.RawStatisticsCallback"' --track and it produces this run

Motivation and Context

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)

Checklist:

[x] I've read the CONTRIBUTION guide (required)
[ ] I have updated the changelog accordingly (required).
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly (required for a bug fix or a new feature).
[ ] I have updated the documentation accordingly.
[ ] I have reformatted the code using make format (required)
[ ] I have checked the codestyle using make check-codestyle and make lint (required)
[ ] I have ensured make pytest and make type both pass. (required)

Note: we are using a maximum length of 127 characters per line

@araffin also suggested I do the same for EvalCallback. So I see that ExperimentManager already uses the EvalCallback, so am I replacing the EvalCallback with something like RawStatsEvalCallback?

@araffin also suggested I do the same for EvalCallback.

ah no, there was some misunderstanding on that.

@vwxyzjn I had to do a PR to your fork as I couldn't push to it :/

Added a test case and updated the changelog :)

Awesome. Fell free to merg

Awesome. Feel free to merge

Hello, I'm using this callback and am a little confused as to why the x axis isn't the episode number? It seems like what this callback does is plot the total return of an episode per timestep? Is there a way to plot the total episode reward per episode and not timestep?


Object::get_property_list don't include script variables in References

Issue description:
The function Object::get_property_list don't include export and normal script variables, on GDScript classes that extends directly from Reference. The same seems to happens on classes that inherit from Object. But for example when the script extends from Resource the function works normally.
Steps to reproduce:

Run the example project.
Press the "Reference" button (Empty output).
Press the "Resource" button, the variables appears on the output, event if the only difference between the two scripts is the inheritance.

Link to minimal example project:
reference_property.zip

Related to https://github.com/godotengine/godot/issues/5146

Checking the Object source code looks like there's a virtual function Object::_use_builtin_script(It's overriden in Node and Resource classes to return true), called in Object::get_property_list to determine if property list will have or not the script data.
IMO the best solution for this issue is reverse the order of the property list in Object::_get_property_list_bind.

the _use_builtin_script function should be removed, but it will break the many property editors around the editor. This is an ancient hack that makes no more sense now. Will tag for 3.0 so we can safely remove it there

this was implemented in 3.0


Update progress image interval

@DhanushNehru Updated progress image interval!

@hasan-py Because the current update time is very slow, and 0.2 or 0.3 seconds consumes a lot of resources.


Add configs for auto-hiding side bar and panel

Add config options to auto-hide the panel and the side bar when activating lazygit

Useful if you have a small screen and prefer lazygit to take up all the available space
Ideally it would remember the visibility of the side bar and panel and restore it when lazygit is hidden, but I couldn't figure out how to do that.

Will be added in 0.1.1


Fix saving prefered quick store item locations

About the PR

Changed a true to a false
fixes #30740
fixes #30947
Why / Balance

It's been broken for the better part of two months now, it's been getting annoying and i'm supprised no one's really been talking about it.
Technical details

true -> false
Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

fix: Prefered item quick store locations can be created again.

Absolute legend (assuming it works), thanks so much.

Thanks for the fix, tested in-game and the issue seems to be resolved


Documentation and Admin for Repo Standardization

Task

Implement standardization of naming conventions, proper practices, etc for issues, PR naming, and branch naming.

Deliverables

A documentation file explaining standards for reference to the team

Created standards placed in admin/documentation/standards as well as templates for issues and templates


Main Handler : little stutter when clicking on an icon rather than swiping

When we click on an icon in the bottom navigation menu, there is a little stutter, like if the page would come back then actually go to the correct one, that's a little weird.
I didn't detect it earlier as the debug mode is really slower for me, and I couldn't see it was happening.
This has to be fixed by the time we can publish the application (waiting for Google and Apple :) )

Fixed by #38


[reconciler] Fix Flaky Test

This PR introduces a fix for a flaky test introduced in #223.

Pull Request Test Coverage Report for Build 10769

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 79.073%

Totals

Change from base Build 10759:
0.5%

Covered Lines:
7368

Relevant Lines:
9318

💛  - Coveralls


Document the cutoff setting

It should close #194.
Btw @rmm5t, I can't use it by doing
$('el').timeago({cutoff: 10000});

Is it normal  or could you plan to allow that ?

Thanks!

Is it normal or could you plan to allow that ?

True. Overriding settings the way you expected is something I'd like to add, but it probably won't happen until a full refactor rewrite of Timeago v2 happens.

Ok ;) Thank you for the answer


Bumped Electron from 4.1.1 to 11.0.1

Bumped electron to 11.0.1 🚀🚀🚀
Bumped typescript to 4.1.3
Bumped keytar to 7.3.0
Bumped electron-rebuild to 2.3.4

Fixed some breaking API changes as a result of bumping Electron
Here's a working Windows CI build: https://fuselabs.visualstudio.com/BotFramework-Emulator/_build/results?buildId=207729&view=artifacts&pathAsName=false&type=publishedArtifacts
The other pipelines will be fixed to accommodate these changes

Coverage decreased (-1.9%) to 65.847% when pulling ddf9b877fc3bf15dc1afa9c514fc252a13616136 on toanzian/electron-bump into c47786fda9bf2c30988e0eef6db1d70adfa0ebfc on main.

Coverage decreased (-1.9%) to 65.847% when pulling ddf9b877fc3bf15dc1afa9c514fc252a13616136 on toanzian/electron-bump into c47786fda9bf2c30988e0eef6db1d70adfa0ebfc on main.

Thanks for the review @corinagum . I'm going to fix the linting and the tests as well and re-push so I might ping you again for a second review :)


[DO NOT MERGE]: posix shutdown investigation/hacks

review posix shutdown
review px4 client/server locking (and cleanup)

What's the relation to unit tests failing with the new px4 work queue? https://github.com/PX4/Firmware/pull/11261

I don't understand the dyn test failure:
      Start 31: dyn
31/34 Test #31: dyn ..............................***Failed  Required regular expression not found.Regex=[1: PASSED
]  0.02 sec
ERROR [dyn] ./examples__dyn_hello.px4mod: cannot open shared object file: No such file or directory
INFO  [px4] Creating symlink /home/julianoes/src/Firmware/ROMFS/px4fmu_test -> /home/julianoes/src/Firmware/build/px4_sitl_test/tmp/etc

______  __   __    ___
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

57 WARNING: setRealtimeSched failed (not run as root?)
INFO  [px4] Calling startup script: /bin/sh /home/julianoes/src/Firmware/posix-configs/SITL/init/test/test_dyn_hello 0
Shutting down

I don't understand the dyn test failure:
      Start 31: dyn
31/34 Test #31: dyn ..............................***Failed  Required regular expression not found.Regex=[1: PASSED
]  0.02 sec
ERROR [dyn] ./examples__dyn_hello.px4mod: cannot open shared object file: No such file or directory
INFO  [px4] Creating symlink /home/julianoes/src/Firmware/ROMFS/px4fmu_test -> /home/julianoes/src/Firmware/build/px4_sitl_test/tmp/etc

______  __   __    ___
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

57 WARNING: setRealtimeSched failed (not run as root?)
INFO  [px4] Calling startup script: /bin/sh /home/julianoes/src/Firmware/posix-configs/SITL/init/test/test_dyn_hello 0
Shutting down

The path seems to be wrong now.

I did a quick test because I though it might fix #11027 but doesn't but it looks like a good start.

I did a quick test because I though it might fix #11027 but doesn't but it looks like a start.

It's intended as a start. There's a lot more to do.


[BUG] Jax - Flax compatibility error

Describe the bug
Hello!
When making the Dockerfile, I get the error Cannot import name 'linear_util' from 'jax' when running examples. This seems to be due to the incompatibility of flax with jax. https://stackoverflow.com/questions/78210393/cannot-import-name-linear-util-from-jax (I do get access to my GPU 2070MaxQ with those settings)
I therefore tried to install the version 4.24 by changing requirements.txt from jax>=0.4.10 to jax>=0.4.24 and the Dockerfile line 36 to :
RUN if [ "$USE_CUDA" = true ] ; \
    then pip install "jax[cuda11]>=0.4.24" -f "https://storage.googleapis.com/jax-releases/jax_cuda_releases.html" ; \
    fi

however I get the error, not being able to use my gpu anymore :
An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.

Do you have any idea how to solve that ?
Full traceback:
Traceback (most recent call last):
  File "/opt/project/xposure/stoix/systems/q_learning/ff_ddqn.py", line 6, in <module>
    import flashbax as fbx
  File "/xposure/lib/python3.10/site-packages/flashbax/__init__.py", line 16, in <module>
    from flashbax.buffers import (
  File "/xposure/lib/python3.10/site-packages/flashbax/buffers/__init__.py", line 16, in <module>
    from flashbax.buffers.prioritised_flat_buffer import make_prioritised_flat_buffer
  File "/xposure/lib/python3.10/site-packages/flashbax/buffers/prioritised_flat_buffer.py", line 25, in <module>
    from flashbax.buffers.prioritised_trajectory_buffer import (
  File "/xposure/lib/python3.10/site-packages/flashbax/buffers/prioritised_trajectory_buffer.py", line 39, in <module>
    from flashbax.buffers import sum_tree, trajectory_buffer
  File "/xposure/lib/python3.10/site-packages/flashbax/buffers/sum_tree.py", line 33, in <module>
    from flax.struct import dataclass
  File "/xposure/lib/python3.10/site-packages/flax/__init__.py", line 24, in <module>
    from flax import core
  File "/xposure/lib/python3.10/site-packages/flax/core/__init__.py", line 15, in <module>
    from .axes_scan import broadcast as broadcast
  File "/xposure/lib/python3.10/site-packages/flax/core/axes_scan.py", line 23, in <module>
    from jax.extend import linear_util as lu
ImportError: cannot import name 'linear_util' from 'jax.extend' (/xposure/lib/python3.10/site-packages/jax/extend/__init__.py)

To Reproduce
Steps to reproduce the behavior:

make build
run ff_ddqn.py with the docker

Possible Solution
Change version of flax and jax/jaxlib in the requirements.txt and the Dockerfile
Context (Environment)
Linux 24.04 with docker.
 I unfortunately dont have access to a GPU machine currently so itll be hard for me to test this however regardless this reminds me to raise the jax version in the requirements file. Just make sure that the image you are pulling and the jax version has the same cuda and cudnn version and that they are aligned.

@thomashirtz Did you ever figure out the issue?

No, unfortunately I didn't, because I don't have too much time debugging this, I stopped using docker and switch to venv


feat: stop overriding jvmargs by default

By default, builds will use org.gradle.jvmargs defined in the gradle.properties file.
As discussed in #171.
Validated with ./scripts/pack.sh && circleci orb validate packed-orb.yml

@devnev is this still relevant? Shall I mark it as a breaking change and merge it?


GKE addon: spawning cluster sometimes succeeds but ktf reports a failure

Is seems that sometimes cluster creation can succeed but ktf will report a failure and leave the clsuter behind.
Example: https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371
=== RUN   TestGKECluster/create_subnet_(using_gcloud_CLI)
    gke_cluster_test.go:52: configuring GKE cloud environment for tests
    gke_cluster_test.go:57: verifying integrity of the gcloud credentials
    gke_cluster_test.go:64: configuring the GKE cluster PROJECT=(***) LOCATION=(***)
    gke_cluster_test.go:70: building cluster t-c1c7f401-828c-4352-9e81-35c8832a0990 (this can take some time)
    gke_cluster_test.go:74: setting up cleanup for cluster t-c1c7f401-828c-4352-9e81-35c8832a0990
    gke_cluster_test.go:80: verifying that the cluster can be communicated with
    gke_cluster_test.go:83: server version found: v1.23.15-gke.1900
    gke_cluster_test.go:85: verifying that the cluster can be loaded as an existing cluster
    gke_cluster_test.go:89: verifying cluster is labelled properly in GKE
    gke_cluster_test.go:97: verify createdBy label exists
    gke_cluster_test.go:107: loading the gke cluster into a testing environment and deploying kong addon
time="2023-02-03T12:54:26Z" level=error msg="failed running helm" args="[--kubeconfig /tmp/-kubeconfig-t-c1c7f401-828c-4352-9e81-35c8832a0990[13](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:14)26361968 install ingress-controller kong/kong --namespace kong-system --set admin.type=ClusterIP --set proxy.type=LoadBalancer --set proxy.http.nodePort=30080 --set admin.enabled=true --set admin.http.enabled=true --set admin.http.nodePort=32080 --set admin.tls.enabled=false --set tls.enabled=false --set udpProxy.enabled=true --set proxy.stream[0].containerPort=8888 --set proxy.stream[0].servicePort=8888 --set proxy.stream[1].containerPort=8899 --set proxy.stream[1].servicePort=8899 --set proxy.stream[1].parameters[0]=ssl --set proxy.stream[1].parameters[1]=reuseport --set udpProxy.stream[0].containerPort=9999 --set udpProxy.stream[0].servicePort=9999 --set udpProxy.stream[0].protocol=UDP --set udpProxy.stream[0].parameters[0]=udp --set udpProxy.stream[0].parameters[1]=reuseport]" error="E0203 12:54:13.086423   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:13.218093   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:13.420917   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:13.543544   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:13.739748   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:13.821099   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:[14](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:15).034596   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.112232   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.311835   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.388024   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.628632   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.71[15](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:16)47   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.912154   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:14.997618   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:[16](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:17).355604   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:16.628245   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:16.710978   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:19.559637   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:19.646767   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:19.857710   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:19.919748   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.1[17](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:18)680   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.193511   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.387122   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.472169   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.665099   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.748891   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:20.940234   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.019257   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.214359   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.293763   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.492126   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.576451   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.771383   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:21.847390   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.172339   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.244005   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.441703   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.516517   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.715620   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:22.7933[18](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:19)   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0[20](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:21)3 12:54:[22](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:23).989843   10351 memcache.go:255] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:[23](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:24).075773   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:23.265520   10351 memcache.go:[25](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:26)5] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\nE0203 12:54:23.346894   10351 memcache.go:106] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request\n: %!w(<nil>)"
    gke_cluster_test.go:111: waiting for addons to be ready
    gke_cluster_test.go:112:
        	Error Trace:	/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/gke_cluster_test.go:112
        	            				/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/gke_cluster_test.go:40
        	Error:      	Received unexpected error:
        	            	Get "https://35.2[26](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:27).89.162/apis/apps/v1/namespaces/kong-system/daemonsets": context deadline exceeded
        	Test:       	TestGKECluster/create_subnet_(using_gcloud_CLI)
    gke_cluster_test.go:76: running cluster cleanup for t-c1c7f401-8[28](https://github.com/Kong/kubernetes-testing-framework/actions/runs/4084278728/jobs/7040792371#step:6:29)c-4352-9e81-35c8832a0990
    gke_cluster_test.go:77:
        	Error Trace:	/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/gke_cluster_test.go:77
        	            				/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/panic.go:540
        	            				/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/testing.go:871
        	            				/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/gke_cluster_test.go:112
        	            				/home/runner/work/kubernetes-testing-framework/kubernetes-testing-framework/test/e2e/gke_cluster_test.go:40
        	Error:      	Received unexpected error:
        	            	context deadline exceeded
        	Test:       	TestGKECluster/create_subnet_(using_gcloud_CLI)

Special notes for reviewers
Those GKE clusters have been removed manually

cc @czeslavo

Those GKE clusters have been removed manually

This contingency should actually be automatically handled by https://github.com/Kong/kubernetes-ingress-controller/blob/main/.github/workflows/cleanup.yaml, however yes it still should be fixed.


Wrong MenuItem focus in human evaluation view

Issue #1522

@mmabrouk it's only in cloud

@aakrem I could not even reproduce it in cloud. how ?

@mmabrouk try to create an evaluation and then access to its view.

Thank you @aakrem now I understand it. I was able to reproduce it.

@MohammedMaaz can you have a look ?


[BUG] backgroud doom-modeline

Describe the bug
I lost the background of doom-modeline.  maybe it's been a few months.
I don't use the NANO module
It happens even when I use the default minemacs config
Emacs version
Run M-x emacs-version and put its output here:
;; For example
GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)

Screenshots

It doesn't seem to work properly with all themes but it was the answer I needed.
thks


Fix intent classifier data augmentation configuration serizalization

Description:

Add the max_unknown_words parameter in the IntentClassifierDataAugmentationConfig serialization

Codecov Report

Merging #708 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #708      +/-   ##
===========================================
+ Coverage    88.05%   88.05%   +<.01%
===========================================
  Files           65       65
  Lines         3792     3793       +1
  Branches       714      715       +1
===========================================
+ Hits          3339     3340       +1
  Misses         345      345
  Partials       108      108


Create a timeline

Add a list of all your activities, achievements, work experience. Add as much info as you can remember. In case you don't have working experience tell about your pet-projects or student projects. Don't be shy :)

Work experience is lixted

Issue can be closed


SAKIII-5258  Accepting an invitation in the inbox doesn't update counts in the left hand navigation, SAKIII-5249 No content in library, add 8 items through inserter, library count not updated

https://jira.sakaiproject.org/browse/SAKIII-5258
https://jira.sakaiproject.org/browse/SAKIII-5249

Superseded by https://github.com/sakaiproject/3akai-ux/pull/1853


algorithm file not found in 'Yoga-internal.h'

algorithm file not found in 'Yoga-internal.h'

[x] I have followed the documentation

Environment
OS: macOS High Sierra 10.13.3
Node: 9.8.0
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: ^0.54.2 => 0.54.2
Steps to Reproduce (from {ROOT})

cd js
yarn add react-native
cd ../
pod install :  dependecies installed √
try to build my app but it doesn't work X

I've also tried to remove "Pods" directory and "Podfile.lock" and retry
Podfile
I have "node_modules" on a directory called {ROOT}/js
....
pod 'React', :path => 'js/node_modules/react-native', :subspecs => [
'Core',
'CxxBridge',
'DevSupport',
'RCTText',
'RCTNetwork',
'RCTWebSocket',
]
pod "yoga", :path => "js/node_modules/react-native/ReactCommon/yoga"
pod 'DoubleConversion', :podspec => 'js/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => 'js/node_modules/react-native/third-party-podspecs/GLog.podspec'
pod 'Folly', :podspec => 'js/node_modules/react-native/third-party-podspecs/Folly.podspec'
...

This is fixed, to my understanding, by https://github.com/facebook/react-native/pull/18492 which is now on master. You'll need to build from source or wait for a new release to be cut.

@hramos I'd like to install pod specs automatically. I think it's not a good idea editing code manually to keep my CLI pipeline clean.

That’s fine. Fix will be part of the next release, you only need to build from source if you can’t wait until then.


Wipes the file and settings.json if disk is full.

If disk is out of space and opening a file, micro wipes the file's content and it's settings.json file. Files still remain but their size is zero.  No backups are created.
I have little disk space frequently so as a work-around I now launch micro through a small check script:
#!/bin/bash
echo "Checking disk space available..."
THRESHOLD_BYTES=$((50 * 1024 * 1024))
available_space=$(df --output=avail -B1 / | tail -n 1)

if [ "$available_space" -lt "$THRESHOLD_BYTES" ]; then
    echo "Error: Not enough disk space available. Aborting."
    exit 1
fi
echo "OK"
micro "$@"

OS: Debian
Terminal: xfce4-terminal

Yes, it is a known major issue: #3148


Support Adding and Removing of Tiles

Allow tiles to be added and removed programmatically. Automatically updating the mesh, colliders, tiles, etc..

Also, include the ability to rotate the entire tile to a direction without forcing all the quads to adopt the identical direction. i.e. If a tile is built with two wall quads, once facing north, and one facing south, when the tile is rotated east, it shouldn't force those tiles to also face east.


daemon: better osd scenario prediction

When 'osd' is only set in the docker run command as $1 we need to detect
which scenario is desired. The commit splits the logic into a new
function and makes the overall detection clearer in term of code
readability.
Half fix for #324
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

Looks good to me


Fixed bugs where the header or separator input fields would disappear…

… if assigned a falsy value. The visibility of those inputs is now handled by seperate variables to prevent that from occuring.

Thanks man !


Make percent visualization tweakable with i button for TreeView

Now percents are shown constantly which is not very convenient sometimes.
Example:
https://analytics.community.intersystems.com/dswpub/index.html#!/d/Public/Tags.dashboard#%2Ff%2FPublic%3Fns=COMMUNITY&embed=1

already fixed


Updated README and LEARN

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #(issue no.)

Type of change

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

Checklist:

[ ] I have made this from my own
[ ] I have taken help from some online resourses
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Please update the pull request template for the above. Add all the details mentioned

done, please check


default 'skip' toggle to on and document

ensure documentation is added to graph panel about how skip starts off as toggled

Deployed on the server live now.


Omni lights expensive - unusable?

Got reports saying our games are unplayable on not so old Android devices like the Samsung A73 5G and other models from last year - doing tests we narrowed it down to our use of Omni lights with cluster lighting enabled.
I am assuming the high consumption of omni lights is a glitch so Im reporting it here - that type of low performance would make the omnis unusable which is a shame.
Video comparison:
Directional light with shadows, 60fps:
https://www.youtube.com/watch?v=OvBeLCerU9Y
One Omni light, no shadows, cluster lights enabled, 30fps or less. On a regular scene we're using around 5 omni lights, but just one kills the device:
https://youtube.com/shorts/92t2RL2mU8w
Tried to disable cluster lights for comparison but we found this other glitch:
https://github.com/playcanvas/engine/issues/5585
Thanks,
Yohami

Just to add a note here - the same setup works fine on iPhone.

How does this run on the mentioned device?
https://playcanvas.github.io/#/graphics/clustered-lighting
On Pixel6 this is 90fps.

Will report back

QA reports that the playcanvas demo runs fine at 60fps on that Samsung phone. Puzzling.

Here's how the playcanvas demo runs on that device (maybe 40fps) - still better than our game with just one Omni, strange.
https://youtu.be/BhNYrlVFo0s

What clustered settings do you use? Disable what you don't need (or everything for testing)

Area lights are expensive. Disable those?
Shadows as well if not needed.

Been doing some builds / experiments. Seems like the biggest slowdown is due to Clustered lights with shadows, gets worse with Area lights
Cluster lights disabled, Omni with shadows: 69fps
https://playcanv.as/b/4a990f6c
Cluster and Area lights enabled: 10fps
https://playcanv.as/b/03ace4ec
Cluster lights with shadows, Area lights disabled: 30fps
https://playcanv.as/b/000bd0b3
Cluster lights without shadows, 60fps
https://playcanv.as/b/07f32a9d
Im guessing we can survive without cluster lights if we have 5-10 in scene?
Thoughts welcome

Been doing some builds / experiments. Seems like the biggest slowdown is due to Clustered lights with shadows, gets worse with Area lights
Cluster lights disabled, Omni with shadows: 69fps https://playcanv.as/b/4a990f6c
Cluster and Area lights enabled: 10fps https://playcanv.as/b/03ace4ec
Cluster lights with shadows, Area lights disabled: 30fps https://playcanv.as/b/000bd0b3
Cluster lights without shadows, 60fps https://playcanv.as/b/07f32a9d
Im guessing we can survive without cluster lights if we have 5-10 in scene?
Thoughts welcome

Clustered lighting has an upfront cost even with little illumination. If you have only a few lights that do mostly overlap - then clustered lights generally not worth it. But if your lights are positioned and sized with very little or no overlap, then clustered lights have benefits.
Also check their settings, such as lightingMaxLightsPerCell and lightingCells. Reducing these values can improve the performance.

Im guessing we can survive without cluster lights if we have 5-10 in scene?

It very much depends on the devices you need to run on, scene complexity, light placement. There is no generic advices here apart from @Maksims already mentioned. Disable as many features as you need. If there performance is not good enough, try non-clustered lights - but the cost with few of those gets costly pretty fast as well.
Also see here, there's a performance section there https://developer.playcanvas.com/en/user-manual/graphics/lighting/clustered-lighting/
I'll close this as I'm not sure there's any new feature request / bug report, but please re-open if that is not correct.


Fix signature number after signing

Commit 6a5849d added a class method that should've been scoped to a petition when calculating the number of signature. This adds that scope and a regression test to ensure that it doesn't reoccur.
https://www.pivotaltracker.com/story/show/96865510

:+1:

LGTM :+1:


Example workflow

Changes introduced with this PR
This is an example workflow that will be referenced in the Getting Started guide.

By contributing to this repository, I agree to the contribution guidelines.

Other than what I said in my comment, it looks like a good example workflow because it doesn't require any extra setup. It worked first try with a simple copy-paste of the instructions.


What value is max per page if it is not specified?

maxPerPage is nullable yet docs don't say the behavior if it is left unspecified.

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

ID: 73b5d036-c2df-203c-f426-5e65fbf87b5b
Version Independent ID: 8ab169e5-cd67-456e-a5d1-0ab9ae1119c3
Content: TableClient.QueryAsync Method (Azure.Data.Tables) - Azure for .NET Developers
Content Source: xml/Azure.Data.Tables/TableClient.xml
Service: azure
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Thank you for your feedback.  Tagging and routing to the team member best able to assist.


Add new puml diagram for FindModuleCommand and remove some ab3 occurence

Codecov Report

Merging #256 (28b4703) into master (56ee2bd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #256   +/-   ##
=========================================
  Coverage     70.77%   70.77%
  Complexity      679      679
=========================================
  Files            96       96
  Lines          2156     2156
  Branches        279      279
=========================================
  Hits           1526     1526
  Misses          537      537
  Partials         93       93

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 56ee2bd...28b4703. Read the comment docs.


Data Augmentation

Hi author
Thanks for open sourcing your work! I am just curious about how the data augmentation is performed during validation and testing? I couldn't find the code performing 30 times cropping in the dataset.py

Hello,
Thanks, I'm glad you enjoy our work.
Regarding the cropping, it is done in the dataset.py file when args.sample_aug >1.
For example, for miniImageNet, it's in line 332:  https://github.com/ybendou/easy/blob/main/datasets.py#L332
Hope this helps,
Best,


std::vector of created struct Client{}; or use class from client folder?

Unsure how to implement?

or use class from client folder? <- if do this need to change to make client class instead of all code in Pong class and just creating object in client.cpp


⚠ ClamAV has degraded performance

In 04bf626, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: ClamAV performance has improved in 1628c62.


[Bug] [Module Name] Bug title web "304 Not Modified"

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Linux
Python version information
3.10
DB-GPT version
main
Related scenes

[ ] Chat Data
[ ] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[X] Dashboard
[X] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
CPU
Models information
LLM:Qwen2.5-7B-Instruct  嵌入模型：text2vec-large-chinese
What happened
INFO:     <IP_ADDRESS>:52380 - "GET /favicon.ico HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET / HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52470 - "GET /_next/static/css/56abd552837c60f9.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52468 - "GET /_next/static/css/9b601b4de5d78ac2.css HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52466 - "GET /_next/static/chunks/webpack-c84cdc13d41d4170.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52472 - "GET /_next/static/chunks/pages/_app-7c76237d5662964a.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52462 - "GET /_next/static/chunks/main-6c4c7f5b8c9b1320.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52464 - "GET /_next/static/chunks/framework-8b06d32cbb857e0e.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52470 - "GET /_next/static/chunks/2648-137ba93003e100f4.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52468 - "GET /_next/static/chunks/3791-58df908ca3784958.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52466 - "GET /_next/static/chunks/2913-9c0ff8bf7b69626b.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52472 - "GET /_next/static/chunks/5278-36ac2f07bcb92504.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52464 - "GET /_next/static/chunks/8791-d36492edb39795c5.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52462 - "GET /_next/static/chunks/4330-a1b5cee9f3b8b8f7.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52470 - "GET /_next/static/chunks/1049-b2925c4c7e1e37be.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52468 - "GET /_next/static/chunks/5030-ed144c49e325cd61.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52466 - "GET /_next/static/chunks/2783-67b811a852a75cad.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52472 - "GET /_next/static/chunks/8733-1e1fc970bff78378.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52464 - "GET /_next/static/chunks/pages/index-9575cac1e78e8e8e.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52462 - "GET /_next/static/uxzFDWvtDY7kRGsQkNbam/_buildManifest.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52470 - "GET /_next/static/uxzFDWvtDY7kRGsQkNbam/_ssgManifest.js HTTP/1.1" 304 Not Modified
INFO:     <IP_ADDRESS>:52468 - "GET /_next/static/css/antd-output/antd.min.7d5365b5.css HTTP/1.1" 304 Not Modified
What you expected to happen
show the web page
How to reproduce
just Go to 'http://<IP_ADDRESS>:5670/'
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

try restart and clear the web browser cache?

try restart and clear the web browser cache?
[English Answer] I found the problem! I used the built-in Firefox browser of CentOS7.9, and the browser version was too low. Later, I turned off the firewall in VMware and accessed it in Windows computer. Since the Google browser version was higher, the webpage was displayed normally.
So I just need to upgrade the browser version!

[中文回答] 我找到问题了！我用的CentOS7.9自带的火狐浏览器，由于浏览器版本太低导致的。后来我关闭了VMware中的防火墙，在Windows电脑中访问。由于Google浏览器版本较高，网页显示正常。
所以只需要升级浏览器版本即可!

只需要升级浏览器版本即可!
just need to upgrade the browser version!


Create a function that calculates the max padding for a blob

[question][blocking] what is the relationship between subtree width and

Blobs start at an index that is equal to a multiple of the blob length divided by MaxSquareSize rounded up.

Source: https://github.com/celestiaorg/celestia-app/blob/main/docs/architecture/adr-013-non-interactive-default-rules-for-zero-padding.md
Related: should we extract a function that calculates the max padding for a blob and unit test it in isolation? Then the unit tests can use the table here to verify max padding matches what we expect: https://github.com/celestiaorg/celestia-app/blob/main/docs/architecture/assets/worst-case-padding-in-blob-size-range.png
Originally posted by @rootulp in https://github.com/celestiaorg/celestia-app/pull/1659#discussion_r1178027226
we should create a function that calculates the max padding for a given blob. It should be shares.SubTreeWidth(numberOfShares)-1

Isn't the max padding shares.SubTreeWidth(shareSize) - 1. If the subtreewidth is 4, then the amount of padding could be 0, 1, 2, 3. The worst case is 3

This seems no longer relevant b/c we extracted all of the share code to go-square and the rules around padding have changed due to ADR-11.


2024-12-10_01-37-31_master-next_aws-cli-v2

Automatically created.

Backport failed for kirkstone-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin kirkstone-next
git worktree add -d .worktree/backport-10674-to-kirkstone-next origin/kirkstone-next
cd .worktree/backport-10674-to-kirkstone-next
git switch --create backport-10674-to-kirkstone-next
git cherry-pick -x b39af841954d7e243464ab94a7ca3485e085ddbe

Backport failed for scarthgap-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin scarthgap-next
git worktree add -d .worktree/backport-10674-to-scarthgap-next origin/scarthgap-next
cd .worktree/backport-10674-to-scarthgap-next
git switch --create backport-10674-to-scarthgap-next
git cherry-pick -x b39af841954d7e243464ab94a7ca3485e085ddbe

Successfully created backport PR for styhead-next:

#10683


Direct user back to where they were upon login

Since login directs the user away from the site, we need to use local
storage to determine where to send them on return.
However, by sending them to the login page there's no guarantee that
they will go through with login. We don't want to pre-emptively set a
value which will later falsely be used if they return to login.
If that reasoning is unclear, also consider the scenario where a user
has two login windows open as a result of trying to visit different
protected pages. Whichever window they proceed with should direct them
back to where they were in that window, not the other window.
Using a URL query string means the local storage value can be set only
immediately before redirect away from the site, when we know they are
performing login. It can then be used from local storage on return.
If a value does remain in local storage, we prefer the query string
at time of redirect which will overwrite it.

LGTM


Decouple coordgen and maeparser integrations

At the moment these two are tightly coupled within the RDKit integration. That's no longer necessary now that coordgen has the default templates built in.
This PR allows them to be built separately of each other.
This is nice because now the coordgen integration no longer has a boost::iostreams dependency, which means that we can use it in the JS wrappers.

The Travis failure isn’t real


ColorScheme.background is not applied as scaffoldBackgroundColor when ThemeData.colorScheme is set

Steps to Reproduce
Expected and Actual results: see in the code example

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(ExampleApp());
}

// ✅ expected and actual result: Scaffold widget background is orange
class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        // is applied as Scaffold widget background
        scaffoldBackgroundColor: Colors.orange,
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.green),
      ),
      home: Scaffold(body: Container()),
    );
  }
}

// ✅ expected and actual result: Scaffold widget background is dark
class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        // when ColorScheme is generated inside ThemeData constructor
        // with ColorScheme.fromSeed(seedColor: colorSchemeSeed),
        // it's .background field is applied as Scaffold widget background
        colorSchemeSeed: Colors.green,
        brightness: Brightness.dark,
      ),
      home: Scaffold(body: Container()),
    );
  }
}

// ❌ expected result: Scaffold widget background is orange
// ❌ actual result: Scaffold widget background is light
class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.green,
          // is not being applied as Scaffold widget background
          background: Colors.orange,
        ),
      ),
      home: Scaffold(body: Container()),
    );
  }
}

Logs

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.2.1 21D62 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.2)
[✓] VS Code (version 1.65.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

The issue is reproducible in DartPad Based on Flutter 2.10.4 Dart SDK 2.16.2

I believe the problem is inside the ThemeData constructor. It has:
factory ThemeData({
  ...
  ColorScheme? colorScheme,
  Color? colorSchemeSeed,
  Color? scaffoldBackgroundColor,
  ...
}) {
  ...
  if (colorSchemeSeed != null) {
    colorScheme = ColorScheme.fromSeed(seedColor: colorSchemeSeed, brightness: _brightness);
    ...
    scaffoldBackgroundColor ??= colorScheme.background;
    ...
  }
  ...
  canvasColor ??= isDark ? Colors.grey[850]! : Colors.grey[50]!;
  scaffoldBackgroundColor ??= canvasColor;
}

The scaffoldBackgroundColor is updated from the generated ColorScheme, but not from the one passed to the ThemeData constructor.

Author's observations can be reproduced using the code samples provided above. Updated the sample to make it easier to test.
Leaving this for further insight from the team.

screenshots

example 1
example 2
example 3

updated code sample
import 'package:flutter/material.dart';

void main() {
   	runApp(const ExampleApp());
  // runApp(const ExampleApp1());
  // runApp(const ExampleApp2());
}

// ✅ expected and actual result: Scaffold widget background is orange
class ExampleApp extends StatelessWidget {
  const ExampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ExampleApp',
      theme: ThemeData(
        // is applied as Scaffold widget background
        scaffoldBackgroundColor: Colors.orange,
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.green),
      ),
      home: Scaffold(body: Container()),
    );
  }
}

// ✅ expected and actual result: Scaffold widget background is dark
class ExampleApp1 extends StatelessWidget {
  const ExampleApp1({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        // when ColorScheme is generated inside ThemeData constructor
        // with ColorScheme.fromSeed(seedColor: colorSchemeSeed),
        // it's .background field is applied as Scaffold widget background
        colorSchemeSeed: Colors.green,
        brightness: Brightness.dark,
      ),
      home: Scaffold(body: Container()),
    );
  }
}

// ❌ expected result: Scaffold widget background is orange
// ❌ actual result: Scaffold widget background is light
class ExampleApp2 extends StatelessWidget {
  const ExampleApp2({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.green,
          // is not being applied as Scaffold widget background
          background: Colors.orange,
        ),
      ),
      home: Scaffold(body: Container()),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.10.4 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (12 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] VS Code (version 1.66.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 100.0.4896.75

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.391, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.391 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 08c46bcb58 (7 hours ago), 2022-04-05 22:24:05 -0400
    • Engine revision 45bedbe841
    • Dart version 2.17.0 (build 2.17.0-266.0.dev)
    • DevTools version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.66.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 100.0.4896.75

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I think the problem is that the background parameter doesn't control the background color of a Scaffold, so it looks to me like this is working as intended.
It does control things like the background of a LinearProgressIndicator, for example:
import 'package:flutter/material.dart';

void main() {
  runApp(ExampleApp());
}

class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        scaffoldBackgroundColor: Colors.grey,
        colorScheme: ColorScheme.fromSeed(
          seedColor: Colors.red,
          background: Colors.pink.shade50,
        ),
        // colorSchemeSeed: Colors.green,
      ),
      home: Scaffold(
        appBar: AppBar(),
        body: const Center(
          child: LinearProgressIndicator(),
        ),
      ),
    );
  }
}

@johnpryan, a few additional arguments to justify this issue, and why I believe currently this is not working as intended:

As a user of such API, I would be really surprised to find out there is no way to control Scaffold.background through ColorScheme. There has to be one, and looking at Roles in a scheme I cannot think of a better colorScheme property than background.

Comments in ThemeData constructor above the colorScheme parameter says:

    // [colorScheme] is the preferred way to configure colors. The other color
    // properties (as well as primaryColorBrightness, and primarySwatch)
    // will gradually be phased out, see https://github.com/flutter/flutter/issues/91772.

If the colorScheme gets generated inside ThemeData constructor, the scaffoldBackgroundColor value can be changed:

if (colorSchemeSeed != null) {
    colorScheme = ColorScheme.fromSeed(seedColor: colorSchemeSeed, brightness: _brightness);
    ...
    scaffoldBackgroundColor ??= colorScheme.background;
    ...
}

So there clearly was an intention to take the colorScheme.background value into account. I cannot think of a rationale behind such a distinction, whether the colorScheme was generated inside the ThemeData constructor or passed as its argument. The suggested fix by @TahaTesser makes total sense to me.

@johnpryan, I understand your argument about the background of LinearProgressIndicator. It means if this issue is fixed as suggested, its background color will not be visible on the Scaffold background color, because they will be the same. But, as a matter of fact, we might be looking at another bug here, because this is already happening if ThemeData is created with colorSchemeSeed parameter.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(ExampleApp());
}

class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        colorSchemeSeed: Colors.green,
      ),
      home: Scaffold(
        appBar: AppBar(),
        body: const Center(
          child: LinearProgressIndicator(),
        ),
      ),
    );
  }
}

Screenshot

@johnpryan
Scaffold takes background from ThemeData and it ignores themeing from the color scheme when ThemeData. colorSchemeSeed is null but the author is trying to create a color scheme with custom parameters so when using ThemeData.colorsScheme (instead of ThemeData. colorSchemeSeed as it looks a single color) to create a color scheme from seed with custom parameters but theme data ignores.
https://github.com/flutter/flutter/blob/f4875ae865e9d42644a93bbab2164fc7baac4ff7/packages/flutter/lib/src/material/scaffold.dart#L2835
ColorScheme.background should be relevant regardless of how the color scheme was created, ThemeData.colorsScheme not working but ThemeData. colorSchemeSeed works.
You can test this by removing condition here
https://github.com/flutter/flutter/blob/f4875ae865e9d42644a93bbab2164fc7baac4ff7/packages/flutter/lib/src/material/theme_data.dart#L439
and overriding scaffoldBackgroundColor parameter here.
https://github.com/flutter/flutter/blob/f4875ae865e9d42644a93bbab2164fc7baac4ff7/packages/flutter/lib/src/material/theme_data.dart#L452

@foxanna
I looked into this https://github.com/flutter/flutter/issues/101389#issuecomment-1099929097, the green color is the track color in your screenshot and if you override the color scheme background, the indicator background is updated, it looks like it is working as intended.

@guidezpl could you take a look and let us know if this is working as intended?

Scaffold is a Flutter-only concept but the color scheme comes directly from the design system, hence Scaffold doesn't use ColorScheme.background. Ultimately, the complete fix would be to deprecate scaffoldBackgroundColor, making its replacement ScaffoldThemeData.background (see with https://github.com/flutter/flutter/issues/91772,).

@guidezpl, thanks for the explanation!
If Scaffold should not use ColorScheme.background, does it mean that updating scaffoldBackgroundColor under if in a ThemeData constructor is a mistake then?
factory ThemeData({
  ...
  ColorScheme? colorScheme,
  Color? colorSchemeSeed,
  Color? scaffoldBackgroundColor,
  ...
}) {
  ...
  if (colorSchemeSeed != null) {
    colorScheme = ColorScheme.fromSeed(seedColor: colorSchemeSeed, brightness: _brightness);
    ...
    scaffoldBackgroundColor ??= colorScheme.background;
    ...
  }
  ...
  canvasColor ??= isDark ? Colors.grey[850]! : Colors.grey[50]!;
  scaffoldBackgroundColor ??= canvasColor;
}

That was probably a reasonable default at the time. So long as it can be customised easily (constructor, copyWith), I think it's fine as is.

Thanks for bringing this up @foxanna. Since this is working as intended, I'm going to close this issue. The very related solution to this problem is found in the deprecation of scaffoldBackgroundColor and in the introduction of ScaffoldThemeData, both of which I do in https://github.com/flutter/flutter/pull/116341. Please follow that PR and the linked issue for updates


Assert typechecking early return in closure

Description
Swift crashes with an assert when returning a Void from a closure whose return type is Any.
Steps to reproduce
$ cat bug.swift
func foo() {
  _ = { a -> Any in
    if true {
      return
    }
    return a
  }
}
$ swiftc bug.swift ...
swiftc: swift/lib/Sema/CSSyntacticElement.cpp:2052: ASTNode (anonymous namespace)::SyntacticElementSolutionApplication::visitReturnStmt(ReturnStmt *): Assertion `resultType->getOptionalObjectType() && resultType->lookThroughAllOptionalTypes()->isVoid()' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: usr/bin/swiftc -frontend -c -primary-file main.swift -target x86_64-apple-ios14.2-simulator -enable-objc-interop -sdk iPhoneSimulator16.4.sdk -color-diagnostics -external-plugin-path iPhoneSimulator16.4.sdk/usr/lib/swift/host/plugins#iPhoneSimulator16.4.sdk/usr/bin/swift-plugin-server -external-plugin-path iPhoneSimulator16.4.sdk/usr/local/lib/swift/host/plugins#iPhoneSimulator16.4.sdk/usr/bin/swift-plugin-server ... -target-sdk-version 16.4 -module-name main -o /tmp/main-356bd4.o
1.	Swift version 5.9-dev (LLVM ff3cd9741e1caf9, Swift 96191eec262df89)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckSourceFileRequest(source_file "main.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(main.(file).foo()@main.swift:1:6)
5.	While type-checking statement at [main.swift:1:12 - line:8:1] RangeText="{
  _ = { a -> Any in
    if true {
      return
    }
    return a
  }
"
6.	While type-checking expression at [main.swift:2:3 - line:7:3] RangeText="_ = { a -> Any in
    if true {
      return
    }
    return a
  "
7.	While type-checking-target starting at main.swift:2:3

Expected behavior
The compiler should not crash. Instead it might be a good idea to emit an error similar to the error when attempting to return a Void in a function whose return type is Any.
func bar() -> Any {
  return
}

main.swift:2:3: error: non-void function should return a value
  return
  ^

Environment

Swift version 5.9-dev (LLVM ff3cd9741e1caf9, Swift 96191eec262df89)
Deployment target: iOS 14.2

/cc @hamishknight

CC @hamishknight have you had a chance to take a look? I believe this is still crashing our builds with a recent compiler.

Sorry yeah, looks like the issue is that we're allowing the synthesized Void return to be converted to Any, so this works in a no-asserts build, but trips up on the assert in an asserts build. Because this works in a no-asserts build, fixing this would be source breaking, though I would hope not many people are relying on this. We could tweak the assertion to at least avoid crashing asserts builds for the time being though.

@hamishknight even if it is in theory source breaking, the source was already broken, wasn't it? If a block returns a value sometimes and Void some other times, the caller has no way of differentiating between the cases (or can it?). If they are discarding all the values returned by the block nothing is broken, but if they try to use the value, they will be receiving garbage in some of the cases, wouldn't they?

If a block returns a value sometimes and Void some other times, the caller has no way of differentiating between the cases (or can it?)

They can, e.g:
func foo(_ fn: () -> Any) {
  print(fn() is Void) // true
}
foo {
  return
}

If they are discarding all the values returned by the block nothing is broken

Not necessarily, this would still become an error:
let _: () -> Any = {
  return
}

but if they try to use the value, they will be receiving garbage in some of the cases, wouldn't they?

If by garbage you mean some kind of memory unsafety, then that's not the case; they're receiving a value of Void in an Any. But yes, that's not a particularly useful value.
To be clear though, I suspect these cases will be pretty rare, and I do think we ought to fix this if we can (and we absolutely need to fix the assertion failure).


fix: building styles

Fixes: https://github.com/stoplightio/elements/issues/1216
As we decided to make output filenames styles.min.css and styles.scss the final path would be<EMAIL_ADDRESS>We could avoid styles directory and have it<EMAIL_ADDRESS>but then we would need to extract those files from other styles to the root folder (having two locations for styles). Do we want to do that?

I'd also vote for moving it up, just looks cleaner.

So here's the update. I've ditched copying everything and made styles compile to root folder. It works fine with all examples. Demo doesn't use build package so isn't a problem.


MudTabs names does not use full available width when using position

Bug type
Component
Component name
MudTabs
What happened?
MudTabPanel text does not use full available width when using Position.Left.
<MudTabs Position="Position.Left">
    <MudTabPanel Text="Short tab">
        Content #1
    </MudTabPanel>
    <MudTabPanel Text="A long text here lorem ipsum">
        Content #2
    </MudTabPanel>
</MudTabs>

It looks to me that this is caused by the MudTooltip component used internally:

Expected behavior
MudTabPanel texts should use full width so that visual effects such as ripple and hover styles are the same for all tab names.
Reproduction link
https://try.mudblazor.com/snippet/mkwQFFcbfRmjtKnJ
Reproduction steps

Hover or click on the shorter MudTabPanel Text

Relevant log output
No response
Version (bug)
6.1.2
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@JonBunator

Yup, looks like a bug. It has to do with the extra div the tooltip generates

It seems like this issue has been resolved. Can anyone confirm from their end?


How to see global variables?

If submitting a bug please make sure

[x] If you are using gdb

[x] gdb --version >= 7.7.1
[x] it works on the command line with gdb
[x] cwd and target are properly set

[ ]  If you are using lldb

[ ] lldb --version >= 3.7.1
[ ] it works on the command line with lldb-mi
[ ] cwd and target are properly set

Screenshots are helpful but not required
I'm using vscode on Windows with the MingW toolset to write and debug Fortran code. I have gdb 8.1 and gfortran 8.1.
I got some global variables declared in a module and used in other modules. The variables are not shown in the variables list (of course, it's showing local variables only). I can show them by print in the gdb console, and i can also add them to the watch list. But the watch list is not displaying the same way, making it hard to read.
In watch:

in variable list:

UPDATE:
I just tried the Microsoft c/c++ ext. In watch list, it's also showing the same way as in the variable list. I'm switching to that before i get a solution with this ext.

there is no GDB MI command to list all variables. There has been one in version 5, but it seems to have been removed.
So this can't be implemented right now because there is no support for it in the debuggers.

@WebFreak001 Thank you for the reply. The microsoft c/c++ extension display the same variable in watch list as

which I think looks better. Is this something achievable?

uhh probably but I didn't really write it to be possible like that from the start so it would be difficult to make this work too I think
haven't touched the repo for a while


How can I get character's real-time position, when I moving my character

I tried to use ref on the model's  ,but the position is vector3{x:0,y:0,z:0} and never changed

Apologies for the interruption. As I am new to these techniques, I am not yet familiar with them. However, I recently acquired knowledge of the getWorldPosition method, which effectively resolved the issue at hand. Thank you for sharing. nice pack~ 030


Feat: Allow selecting multiple exercises in visualization for comparison

Unfortunately, this is very difficult to implement in a generic, scalable, and memory intensive manner. I will not add this feature for now.


[optimizer] Refactor optimizers

refactor optimizers to update to the new design. Now there are
two internal optimizer headers -

opitmizer_devel - which is used external of the optimizer. The
interface provided here must be sufficient to use the optimizer by
the models or other classes.
optimizer_impl - which also follows the same interface but provides
implementations for some more functions as well as some more member
variables.

optimizer.h in the API is a subset of the optimizer_devel which is the
exposed API for an external user to use.
optimizer_devel.h is the API which a user must implement when creating
their own optimizer.
optimizer_impl.h provides another class which a custom optimizer implementer
can extend for their ease.
These classes follow the below design
optimizer.h (ml::train::Optimizer) <- optimizer_devel.h (nntrainer::Optimizer)
<- optimizer_impl.h (nntrainer::OptimizerImpl)
Further, model, graph, and all other classes contains objects of type nntrainer::Optimizer
The c++ API is also reduced to match with the C API.
Once all the c++ APIs are matched with c API, then we can move more functions
from *_devel.h files to *.h files.
See also #986
Self evaluation:

Build test: [x]Passed [ ]Failed [ ]Skipped
Run test: [x]Passed [ ]Failed [ ]Skipped

Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #1026. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @kparichay, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1026-202103191219050.77369093894958-dd1a61d6f087e03eacdd0a06c73e3ac1ad08c71c/.

:octocat: cibot: @kparichay, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/1026-202103191347350.012556076049805-db453cfeb6c0e41fb2ff2480583a8615cc268d8a/.

:octocat: cibot: @kparichay, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

V2:
optimizer_devel has been updated as follows:

all interfaces are virtual
some more default implementations
stateless interface

I wonder if it is possible to build normal package without devel header. I think it should be.


Use memoryviews in HPACK

HPACK should use memoryview objects when decoding if at all possible to avoid copying memory all over the place.

Done! Thanks @irvind!


Add Spark accessors to usage logging.

I thought I added ...

Codecov Report

Merging #1540 into master will decrease coverage by 2.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1540      +/-   ##
==========================================
- Coverage   94.16%   92.05%   -2.12%
==========================================
  Files          38       38
  Lines        8539     8571      +32
==========================================
- Hits         8041     7890     -151
- Misses        498      681     +183

Impacted Files
Coverage Δ

databricks/koalas/missing/indexes.py
100.00% <ø> (ø)

databricks/koalas/indexes.py
97.13% <100.00%> (+0.09%)
:arrow_up:

databricks/koalas/spark/accessors.py
91.30% <100.00%> (+1.20%)
:arrow_up:

databricks/koalas/usage_logging/__init__.py
25.00% <100.00%> (-69.60%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50.00% <0.00%> (-50.00%)
:arrow_down:

databricks/koalas/__init__.py
78.43% <0.00%> (-13.73%)
:arrow_down:

databricks/conftest.py
88.67% <0.00%> (-7.55%)
:arrow_down:

databricks/koalas/frame.py
92.70% <0.00%> (-3.07%)
:arrow_down:

databricks/koalas/namespace.py
84.49% <0.00%> (-1.61%)
:arrow_down:

... and 6 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 0ac8bd0...8054f5c. Read the comment docs.

Thanks! merging.


add GT description to header

never mind, this already works, thanks @ernfrid
https://github.com/hall-lab/svtools/blob/master/svtools/bin/svtyper/svtyper#L56


Made full TOC appear in sidebar for better navigation. Various language edits.

Before, the full TOC was not available in the sidebar, so if you clicked on a link to the Installation page (for example), you would have to navigate back to Home to get to any other page. I updated  doc-requirements.txt to use the latest Read the Docs theme, which allows for captions in the TOC. Then, I put a few toctree directives in index.rst so that the full TOC would appear in the sidebar, with captions separating the different categories.
I also made various language edits for clarity, grammar, and punctuation.
Finally, Sphinx was throwing some warnings about title underlines being too short. I don't think they affected the build, but they were extra noise within legitimate warnings, so I made those underlines longer to get rid of the warnings.

@qwermish thank you!


Decouple HTML semantics from styles in Heading

Currently the Heading component sets styles for different heading elements (<h1> – <h6>). Instead font-size, weight and other styles should be handled through props and not tied to the semantic heading level

Closing this since it’s now in the v2 PR


Add memory limit option to container and profile configuration

Add the option to specify a memory limit for containers using the "mem_limit" key in the container or profile YAML file.
The limit may be specified as either a number of bytes (float or int) or as a string in the format described in the Docker docs. Fortunately, if you specify an invalid value, Docker will raise a helpful exception explaining the format.
While I was in profile.py, I changed a bunch of single quotes to double quotes as well.

We can put the explanation in the bay.yaml docs when we write them 😁